Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8572/0.8572, allocations: 153.8 MB / 170.2 MB, free: 13.8 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005279, allocations: 17.06 kB / 246.3 MB, free: 14.89 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06152/0.06204, allocations: 33.35 MB / 279.7 MB, free: 15.13 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss): time 1.849/1.911, allocations: 307.3 MB / 0.5732 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/1.954, allocations: 34.65 MB / 0.6071 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/1.954, allocations: 4 kB / 0.6071 GB, free: 7.758 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000387/1.954, allocations: 135.9 kB / 0.6072 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/1.954, allocations: 115.2 kB / 0.6073 GB, free: 7.512 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02407/1.978, allocations: 9.756 MB / 0.6168 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005607/1.979, allocations: 342.4 kB / 0.6172 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/1.979, allocations: 88.66 kB / 0.6172 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/1.979, allocations: 155.3 kB / 0.6174 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/1.98, allocations: 115.4 kB / 0.6175 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/1.98, allocations: 16 kB / 0.6175 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03275/2.012, allocations: 17.91 MB / 0.635 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/2.012, allocations: 43.78 kB / 0.635 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/2.013, allocations: 131.3 kB / 0.6352 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/2.033, allocations: 8.439 MB / 0.6434 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.033, allocations: 8 kB / 0.6434 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/2.033, allocations: 0 / 0.6434 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.246e-05/2.033, allocations: 0 / 0.6434 GB, free: 2.465 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004695/2.037, allocations: 1.49 MB / 0.6449 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/2.037, allocations: 11.97 kB / 0.6449 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/2.038, allocations: 66.47 kB / 0.645 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/2.038, allocations: 31.81 kB / 0.645 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/2.038, allocations: 230.6 kB / 0.6452 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/2.038, allocations: 16.44 kB / 0.6452 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/2.038, allocations: 24 kB / 0.6452 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/2.038, allocations: 303.3 kB / 0.6455 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/2.038, allocations: 0 / 0.6455 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/2.038, allocations: 4 kB / 0.6455 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/2.038, allocations: 12 kB / 0.6455 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/2.039, allocations: 178.3 kB / 0.6457 GB, free: 15.98 MB / 0.5294 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.04086/2.08, allocations: 18.12 MB / 0.6634 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/2.08, allocations: 106.7 kB / 0.6635 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/2.08, allocations: 72.84 kB / 0.6636 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.337/2.417, allocations: 82.86 MB / 0.7445 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/2.417, allocations: 34.06 kB / 0.7445 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/2.417, allocations: 0 / 0.7445 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0008921/2.418, allocations: 447 kB / 0.745 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/2.418, allocations: 55.34 kB / 0.745 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/2.418, allocations: 224.7 kB / 0.7452 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/2.418, allocations: 29.14 kB / 0.7453 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/2.418, allocations: 151.4 kB / 0.7454 GB, free: 196 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/2.418, allocations: 113.7 kB / 0.7455 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/2.418, allocations: 48.47 kB / 0.7456 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/2.418, allocations: 333.8 kB / 0.7459 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/2.418, allocations: 74.56 kB / 0.7459 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/2.419, allocations: 121.3 kB / 0.7461 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/2.419, allocations: 203 kB / 0.7462 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/2.419, allocations: 3.609 kB / 0.7463 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003601/2.419, allocations: 298.7 kB / 0.7465 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/2.419, allocations: 3.969 kB / 0.7465 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/2.419, allocations: 0 / 0.7465 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008593/2.42, allocations: 166.3 kB / 0.7467 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/2.42, allocations: 7.938 kB / 0.7467 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/2.42, allocations: 0.632 MB / 0.7473 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/2.42, allocations: 28.78 kB / 0.7474 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/2.42, allocations: 7.844 kB / 0.7474 GB, free: 194.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/2.421, allocations: 139.4 kB / 0.7475 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/2.421, allocations: 27.42 kB / 0.7475 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/2.421, allocations: 0.5747 MB / 0.7481 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002851/2.421, allocations: 214.4 kB / 0.7483 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.421, allocations: 0 / 0.7483 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.421, allocations: 7.984 kB / 0.7483 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/2.422, allocations: 0.7191 MB / 0.749 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.422, allocations: 3.969 kB / 0.749 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/2.422, allocations: 22.48 kB / 0.749 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/2.423, allocations: 110.8 kB / 0.7491 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/2.423, allocations: 1.562 kB / 0.7491 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003105/2.423, allocations: 0.6569 MB / 0.7498 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/2.423, allocations: 3.938 kB / 0.7498 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/2.423, allocations: 329.1 kB / 0.7501 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/2.423, allocations: 105.1 kB / 0.7502 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/2.423, allocations: 18.17 kB / 0.7502 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/2.423, allocations: 0 / 0.7502 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/2.423, allocations: 12.48 kB / 0.7502 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/2.423, allocations: 3.938 kB / 0.7502 GB, free: 193 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001822/2.424, allocations: 234.9 kB / 0.7504 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.424, allocations: 0 / 0.7504 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002649/2.426, allocations: 1.21 MB / 0.7516 GB, free: 192.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005072/2.431, allocations: 2.527 MB / 0.7541 GB, free: 191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005693/2.432, allocations: 207.5 kB / 0.7543 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/2.432, allocations: 0 / 0.7543 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/2.432, allocations: 85.03 kB / 0.7544 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/2.433, allocations: 127.6 kB / 0.7545 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/2.436, allocations: 3.055 MB / 0.7575 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/2.437, allocations: 0.7662 MB / 0.7582 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.813e-05/2.437, allocations: 21.95 kB / 0.7582 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/2.437, allocations: 89.09 kB / 0.7583 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/2.437, allocations: 0 / 0.7583 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/2.518, allocations: 47.84 MB / 0.805 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/16.41, allocations: 13.03 kB / 0.8051 GB, free: 140.1 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.322122126002796] Failed to read output from testmodel.py, exit status != 0: 16.703618361992994 16.717507829 14.681852009 Calling exit ...