Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00409/0.004095, allocations: 102.7 kB / 15.74 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001223, allocations: 193.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9195/0.9195, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.95 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 82.02 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4698/0.6178, allocations: 161.4 MB / 0.833 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.6195, allocations: 0.9661 MB / 0.8339 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.6197, allocations: 8.281 kB / 0.8339 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.6202, allocations: 156.2 kB / 0.8341 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.6215, allocations: 0.6324 MB / 0.8347 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.6221, allocations: 224.2 kB / 0.8349 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.6227, allocations: 0.516 MB / 0.8354 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.623, allocations: 174.7 kB / 0.8356 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.6234, allocations: 234 kB / 0.8358 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.6236, allocations: 164.3 kB / 0.836 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.6236, allocations: 15 kB / 0.836 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/0.6244, allocations: 0.5427 MB / 0.8365 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.6245, allocations: 75.58 kB / 0.8366 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.6247, allocations: 114.2 kB / 0.8367 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.6254, allocations: 0.4993 MB / 0.8372 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6254, allocations: 0 / 0.8372 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6254, allocations: 0 / 0.8372 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6254, allocations: 0 / 0.8372 GB, free: 4.297 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001441/0.6269, allocations: 0.6144 MB / 0.8378 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6269, allocations: 10.28 kB / 0.8378 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/0.627, allocations: 47.27 kB / 0.8378 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.6272, allocations: 56.17 kB / 0.8379 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.6277, allocations: 284.6 kB / 0.8382 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6277, allocations: 15.86 kB / 0.8382 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.6277, allocations: 18.09 kB / 0.8382 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.6283, allocations: 241.6 kB / 0.8384 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6283, allocations: 3.938 kB / 0.8384 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.6283, allocations: 7.938 kB / 0.8384 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.6283, allocations: 7.688 kB / 0.8384 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.6289, allocations: 254 kB / 0.8387 GB, free: 3.094 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.6302, allocations: 0.8432 MB / 0.8395 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.6305, allocations: 142.3 kB / 0.8396 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.6308, allocations: 110.9 kB / 0.8398 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.6311, allocations: 189.1 kB / 0.8399 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.6311, allocations: 34.5 kB / 0.84 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.6311, allocations: 0 / 0.84 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008356/0.632, allocations: 308.9 kB / 0.8403 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.632, allocations: 54.31 kB / 0.8403 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.6323, allocations: 238.4 kB / 0.8405 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.6323, allocations: 32.92 kB / 0.8406 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.6324, allocations: 131.8 kB / 0.8407 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.6325, allocations: 55.05 kB / 0.8408 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.6326, allocations: 34.36 kB / 0.8408 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6327, allocations: 327.1 kB / 0.8411 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.6329, allocations: 71.19 kB / 0.8412 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.6331, allocations: 107.2 kB / 0.8413 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.6335, allocations: 168.6 kB / 0.8414 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6335, allocations: 0 / 0.8414 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004698/0.634, allocations: 217.3 kB / 0.8416 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.634, allocations: 11.22 kB / 0.8416 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.634, allocations: 9.781 kB / 0.8417 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6341, allocations: 0 / 0.8417 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.6342, allocations: 30.36 kB / 0.8417 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6342, allocations: 2.75 kB / 0.8417 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.6344, allocations: 23.25 kB / 0.8417 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.6344, allocations: 8.797 kB / 0.8417 GB, free: 0.6875 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6346, allocations: 137 kB / 0.8418 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.6346, allocations: 29.8 kB / 0.8419 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.6347, allocations: 33.8 kB / 0.8419 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6347, allocations: 0 / 0.8419 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6347, allocations: 0 / 0.8419 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6348, allocations: 6.062 kB / 0.8419 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.6358, allocations: 0.6764 MB / 0.8426 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6358, allocations: 2.906 kB / 0.8426 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.636, allocations: 38.03 kB / 0.8426 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.636, allocations: 2.906 kB / 0.8426 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.636, allocations: 6.469 kB / 0.8426 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.636, allocations: 6.375 kB / 0.8426 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.636, allocations: 2.594 kB / 0.8426 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.6366, allocations: 361.9 kB / 0.843 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6367, allocations: 120.1 kB / 0.8431 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.6367, allocations: 1.812 kB / 0.8431 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6369, allocations: 9.781 kB / 0.8431 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.637, allocations: 12.73 kB / 0.8431 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.637, allocations: 16.42 kB / 0.8431 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001561/0.6371, allocations: 174.8 kB / 0.8433 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6371, allocations: 0 / 0.8433 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003327/0.6375, allocations: 65.17 kB / 0.8434 GB, free: 15.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.6385, allocations: 0.9386 MB / 0.8443 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.639, allocations: 174.2 kB / 0.8444 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.639, allocations: 1.969 kB / 0.8444 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.6392, allocations: 93.81 kB / 0.8445 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.64, allocations: 129.9 kB / 0.8447 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.6431, allocations: 2.475 MB / 0.8471 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.6435, allocations: 0.7514 MB / 0.8478 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.6437, allocations: 65.41 kB / 0.8479 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.6439, allocations: 64.09 kB / 0.8479 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.6439, allocations: 0 / 0.8479 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.6725, allocations: 6.947 MB / 0.8547 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.804, allocations: 17.25 kB / 0.8547 GB, free: 5.781 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)