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.8339/0.8339, allocations: 153.8 MB / 170.9 MB, free: 13.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 19.02 kB / 247 MB, free: 14.85 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06603/0.06652, allocations: 33.34 MB / 280.4 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.716/1.782, allocations: 307.3 MB / 0.5739 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04268/1.825, allocations: 34.65 MB / 0.6078 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/1.825, allocations: 0 / 0.6078 GB, free: 7.723 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.0004547/1.826, allocations: 127.9 kB / 0.6079 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/1.826, allocations: 127.1 kB / 0.608 GB, free: 7.473 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.02626/1.852, allocations: 9.739 MB / 0.6175 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006257/1.853, allocations: 354.3 kB / 0.6178 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/1.853, allocations: 80.67 kB / 0.6179 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/1.853, allocations: 159.3 kB / 0.6181 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/1.853, allocations: 107.4 kB / 0.6182 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/1.854, allocations: 20 kB / 0.6182 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03146/1.885, allocations: 17.91 MB / 0.6357 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/1.885, allocations: 47.78 kB / 0.6357 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/1.885, allocations: 139.3 kB / 0.6359 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02066/1.906, allocations: 8.435 MB / 0.6441 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.906, allocations: 0 / 0.6441 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/1.906, allocations: 0 / 0.6441 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.906, allocations: 3.938 kB / 0.6441 GB, free: 2.438 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.004449/1.91, allocations: 1.486 MB / 0.6456 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.91, allocations: 15.97 kB / 0.6456 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/1.91, allocations: 8.375 kB / 0.6456 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/1.911, allocations: 66.53 kB / 0.6456 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/1.911, allocations: 31.81 kB / 0.6457 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/1.911, allocations: 230.6 kB / 0.6459 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/1.911, allocations: 16.44 kB / 0.6459 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/1.911, allocations: 20 kB / 0.6459 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/1.911, allocations: 299.3 kB / 0.6462 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.911, allocations: 4 kB / 0.6462 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/1.911, allocations: 11.94 kB / 0.6462 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/1.911, allocations: 12 kB / 0.6462 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/1.912, allocations: 166.5 kB / 0.6464 GB, free: 15.95 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.03916/1.951, allocations: 18.12 MB / 0.6641 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/1.951, allocations: 114.6 kB / 0.6642 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.951, allocations: 72.84 kB / 0.6643 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3468/2.298, allocations: 82.85 MB / 0.7452 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/2.298, allocations: 34.56 kB / 0.7452 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/2.298, allocations: 0 / 0.7452 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0009664/2.299, allocations: 448.4 kB / 0.7457 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/2.299, allocations: 51.41 kB / 0.7457 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/2.299, allocations: 221.2 kB / 0.7459 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/2.299, allocations: 25.7 kB / 0.7459 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/2.299, allocations: 150.6 kB / 0.7461 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/2.299, allocations: 120.1 kB / 0.7462 GB, free: 196 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/2.299, allocations: 46.12 kB / 0.7462 GB, free: 196 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/2.299, allocations: 340.4 kB / 0.7466 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/2.3, allocations: 72.12 kB / 0.7466 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/2.3, allocations: 113.9 kB / 0.7467 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/2.3, allocations: 207.9 kB / 0.7469 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.3, allocations: 3.609 kB / 0.7469 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003671/2.3, allocations: 291.8 kB / 0.7472 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/2.3, allocations: 3.969 kB / 0.7472 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/2.3, allocations: 3.75 kB / 0.7472 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008499/2.301, allocations: 163.3 kB / 0.7474 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/2.301, allocations: 7.797 kB / 0.7474 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003791/2.302, allocations: 0.637 MB / 0.748 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/2.302, allocations: 32.56 kB / 0.748 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/2.302, allocations: 5.016 kB / 0.748 GB, free: 194.9 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.302, allocations: 136 kB / 0.7482 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/2.302, allocations: 31.31 kB / 0.7482 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/2.302, allocations: 0.5649 MB / 0.7488 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002889/2.303, allocations: 223.7 kB / 0.749 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/2.303, allocations: 0 / 0.749 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/2.303, allocations: 5.188 kB / 0.749 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/2.303, allocations: 0.7221 MB / 0.7497 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/2.303, allocations: 4.562 kB / 0.7497 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/2.303, allocations: 17.53 kB / 0.7497 GB, free: 194 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/2.304, allocations: 112.6 kB / 0.7498 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/2.304, allocations: 0 / 0.7498 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/2.304, allocations: 0.6537 MB / 0.7505 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.304, allocations: 4 kB / 0.7505 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/2.305, allocations: 337.1 kB / 0.7508 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/2.305, allocations: 110.1 kB / 0.7509 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/2.305, allocations: 10 kB / 0.7509 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/2.305, allocations: 7.625 kB / 0.7509 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/2.305, allocations: 8.797 kB / 0.7509 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/2.305, allocations: 7.938 kB / 0.7509 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001821/2.305, allocations: 235.2 kB / 0.7511 GB, free: 193 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.305, allocations: 0 / 0.7511 GB, free: 193 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002698/2.308, allocations: 1.208 MB / 0.7523 GB, free: 192.9 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.005733/2.313, allocations: 2.527 MB / 0.7548 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004656/2.314, allocations: 214.6 kB / 0.755 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.314, allocations: 0 / 0.755 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/2.314, allocations: 84.94 kB / 0.7551 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/2.315, allocations: 117.7 kB / 0.7552 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/2.319, allocations: 3.062 MB / 0.7582 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/2.319, allocations: 0.7701 MB / 0.7589 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.507e-05/2.319, allocations: 21.95 kB / 0.7589 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/2.319, allocations: 91.97 kB / 0.759 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/2.319, allocations: 0 / 0.759 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07004/2.389, allocations: 47.87 MB / 0.8058 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.35, allocations: 13.08 kB / 0.8058 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestPipePressureLoss.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.601007924997248] Failed to read output from testmodel.py, exit status != 0: 16.694822692021262 16.70494342 14.796775705 Calling exit ...