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.803/0.803, allocations: 153.8 MB / 172.7 MB, free: 4.891 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.0005085/0.0005085, allocations: 15.97 kB / 249.8 MB, free: 4.363 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 33.35 MB / 283.2 MB, free: 1.73 MB / 222.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.796/1.961, allocations: 307.6 MB / 0.5769 GB, free: 17.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/1.993, allocations: 30.53 MB / 0.6067 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/1.993, allocations: 2.5 kB / 0.6067 GB, free: 2.887 MB / 478.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.0004464/1.993, allocations: 108.9 kB / 0.6068 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/1.994, allocations: 115.9 kB / 0.6069 GB, free: 2.762 MB / 478.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.02549/2.019, allocations: 9.684 MB / 0.6164 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/2.02, allocations: 350.5 kB / 0.6167 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/2.02, allocations: 85.5 kB / 0.6168 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/2.02, allocations: 161.5 kB / 0.6169 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/2.02, allocations: 100.3 kB / 0.617 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/2.02, allocations: 20 kB / 0.617 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0327/2.053, allocations: 16.76 MB / 0.6334 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/2.053, allocations: 47.77 kB / 0.6335 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/2.053, allocations: 112.2 kB / 0.6336 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/2.073, allocations: 8.443 MB / 0.6418 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/2.073, allocations: 0 / 0.6418 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/2.073, allocations: 0 / 0.6418 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.005e-06/2.073, allocations: 0 / 0.6418 GB, free: 2.902 MB / 0.4981 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.003946/2.077, allocations: 1.407 MB / 0.6432 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/2.077, allocations: 8.031 kB / 0.6432 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/2.077, allocations: 62.55 kB / 0.6433 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/2.077, allocations: 29.5 kB / 0.6433 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/2.077, allocations: 184.6 kB / 0.6435 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/2.077, allocations: 17.44 kB / 0.6435 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/2.077, allocations: 20 kB / 0.6435 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/2.078, allocations: 304.2 kB / 0.6438 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/2.078, allocations: 0 / 0.6438 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/2.078, allocations: 8 kB / 0.6438 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/2.078, allocations: 8 kB / 0.6438 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/2.078, allocations: 173.1 kB / 0.644 GB, free: 0.6016 MB / 0.4981 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.03518/2.113, allocations: 10.84 MB / 0.6545 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/2.114, allocations: 106.7 kB / 0.6546 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/2.114, allocations: 72.83 kB / 0.6547 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1461/2.26, allocations: 43.58 MB / 0.6973 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/2.26, allocations: 38.55 kB / 0.6973 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.474e-06/2.26, allocations: 0 / 0.6973 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001026/2.261, allocations: 368.5 kB / 0.6977 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/2.261, allocations: 51.41 kB / 0.6977 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/2.261, allocations: 227 kB / 0.6979 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/2.261, allocations: 26.73 kB / 0.698 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/2.261, allocations: 156.7 kB / 0.6981 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/2.262, allocations: 111 kB / 0.6982 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/2.262, allocations: 45.64 kB / 0.6983 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/2.262, allocations: 338.8 kB / 0.6986 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/2.262, allocations: 76.59 kB / 0.6986 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/2.262, allocations: 124.8 kB / 0.6988 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/2.262, allocations: 208.8 kB / 0.699 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/2.262, allocations: 0 / 0.699 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000444/2.263, allocations: 302.5 kB / 0.6993 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.263, allocations: 4 kB / 0.6993 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/2.263, allocations: 4.844 kB / 0.6993 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008779/2.264, allocations: 165.5 kB / 0.6994 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/2.264, allocations: 8 kB / 0.6994 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005776/2.264, allocations: 0.6342 MB / 0.7 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/2.264, allocations: 31.77 kB / 0.7001 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/2.264, allocations: 5.25 kB / 0.7001 GB, free: 6.879 MB / 0.5606 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 0.0001442/2.265, allocations: 135.3 kB / 0.7002 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/2.265, allocations: 23.8 kB / 0.7002 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/2.265, allocations: 0.5886 MB / 0.7008 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003711/2.266, allocations: 218.4 kB / 0.701 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.266, allocations: 4.062 kB / 0.701 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/2.266, allocations: 5.203 kB / 0.701 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/2.267, allocations: 0.667 MB / 0.7017 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.267, allocations: 0.625 kB / 0.7017 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/2.267, allocations: 12 kB / 0.7017 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/2.267, allocations: 114.6 kB / 0.7018 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/2.267, allocations: 7.984 kB / 0.7018 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/2.268, allocations: 0.6583 MB / 0.7025 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.268, allocations: 3.938 kB / 0.7025 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/2.268, allocations: 335.8 kB / 0.7028 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/2.268, allocations: 35.72 kB / 0.7028 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/2.268, allocations: 23.77 kB / 0.7028 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/2.268, allocations: 0.6875 kB / 0.7028 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/2.268, allocations: 8.547 kB / 0.7028 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/2.268, allocations: 8.062 kB / 0.7028 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000262/2.269, allocations: 239.1 kB / 0.7031 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.269, allocations: 0 / 0.7031 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003232/2.272, allocations: 1.204 MB / 0.7043 GB, free: 2.434 MB / 0.5606 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.006/2.278, allocations: 2.525 MB / 0.7067 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005847/2.279, allocations: 213.4 kB / 0.7069 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.279, allocations: 256 / 0.7069 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/2.279, allocations: 87.89 kB / 0.707 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/2.279, allocations: 115.6 kB / 0.7071 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/2.284, allocations: 3.053 MB / 0.7101 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/2.284, allocations: 164.8 kB / 0.7103 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001041/2.284, allocations: 25.42 kB / 0.7103 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/2.284, allocations: 87.41 kB / 0.7104 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/2.284, allocations: 0 / 0.7104 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/2.381, allocations: 48.46 MB / 0.7577 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/16.77, allocations: 1.562 kB / 0.7577 GB, free: 12.3 MB / 0.6231 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.713567066006362] Failed to read output from testmodel.py, exit status != 0: 17.287648612167686 17.298301061 15.222747442 Calling exit ...