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.581/0.581, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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 2.214e-06/2.214e-06, allocations: 0 / 216.7 MB, free: 8.559 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2.034e-05, allocations: 3.812 kB / 216.7 MB, free: 8.555 MB / 202.7 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.007/1.007, allocations: 254.3 MB / 471 MB, free: 9.652 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02725/1.034, allocations: 30.51 MB / 0.4898 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/1.034, allocations: 3.938 kB / 0.4898 GB, free: 11.01 MB / 458.7 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.0004021/1.035, allocations: 111.3 kB / 0.4899 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/1.035, allocations: 123.1 kB / 0.49 GB, free: 10.78 MB / 458.7 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.01956/1.055, allocations: 9.768 MB / 0.4996 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/1.055, allocations: 370.1 kB / 0.4999 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/1.055, allocations: 88.77 kB / 0.5 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/1.055, allocations: 219.4 kB / 0.5002 GB, free: 320 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/1.056, allocations: 79.72 kB / 0.5003 GB, free: 240 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/1.056, allocations: 20 kB / 0.5003 GB, free: 220 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2686/1.324, allocations: 16.78 MB / 0.5167 GB, free: 15.7 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/1.324, allocations: 49.19 kB / 0.5167 GB, free: 15.7 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/1.324, allocations: 82.64 kB / 0.5168 GB, free: 15.7 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02233/1.347, allocations: 10.8 MB / 0.5274 GB, free: 15.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.347, allocations: 0 / 0.5274 GB, free: 15.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.347, allocations: 0 / 0.5274 GB, free: 15.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.649e-06/1.347, allocations: 1.094 kB / 0.5274 GB, free: 15.63 MB / 474.7 MB 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.005168/1.352, allocations: 1.41 MB / 0.5287 GB, free: 14.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.352, allocations: 9.625 kB / 0.5288 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/1.352, allocations: 63.28 kB / 0.5288 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/1.352, allocations: 30.56 kB / 0.5288 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.352, allocations: 177.1 kB / 0.529 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/1.352, allocations: 12.5 kB / 0.529 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/1.352, allocations: 21.28 kB / 0.529 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/1.353, allocations: 300.4 kB / 0.5293 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.353, allocations: 2.125 kB / 0.5293 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.353, allocations: 9.812 kB / 0.5293 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/1.353, allocations: 14.23 kB / 0.5294 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/1.353, allocations: 171.4 kB / 0.5295 GB, free: 14.52 MB / 474.7 MB 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.01794/1.371, allocations: 10.83 MB / 0.5401 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/1.371, allocations: 115.9 kB / 0.5402 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/1.371, allocations: 68.19 kB / 0.5403 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07102/1.442, allocations: 43.58 MB / 0.5828 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.442, allocations: 33.75 kB / 0.5829 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.454e-06/1.442, allocations: 4 kB / 0.5829 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0008306/1.443, allocations: 361.9 kB / 0.5832 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.443, allocations: 51.41 kB / 0.5833 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/1.443, allocations: 234.1 kB / 0.5835 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/1.443, allocations: 30.45 kB / 0.5835 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/1.443, allocations: 155.6 kB / 0.5837 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/1.443, allocations: 114.2 kB / 0.5838 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/1.443, allocations: 43.89 kB / 0.5838 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.444, allocations: 338.8 kB / 0.5841 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/1.444, allocations: 75.97 kB / 0.5842 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/1.444, allocations: 108.3 kB / 0.5843 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/1.444, allocations: 215.6 kB / 0.5845 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.444, allocations: 7.469 kB / 0.5845 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003271/1.444, allocations: 292.4 kB / 0.5848 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.444, allocations: 4 kB / 0.5848 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.444, allocations: 0 / 0.5848 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/1.445, allocations: 173.4 kB / 0.585 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/1.445, allocations: 15.22 kB / 0.585 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005154/1.445, allocations: 0.6232 MB / 0.5856 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/1.446, allocations: 29.45 kB / 0.5856 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.446, allocations: 4 kB / 0.5856 GB, free: 4.66 MB / 0.4948 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.0001225/1.446, allocations: 152.7 kB / 0.5858 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.446, allocations: 27.75 kB / 0.5858 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/1.446, allocations: 0.579 MB / 0.5864 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002105/1.446, allocations: 225.8 kB / 0.5866 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.446, allocations: 0 / 0.5866 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.446, allocations: 0 / 0.5866 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/1.447, allocations: 0.6667 MB / 0.5872 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.447, allocations: 0.5625 kB / 0.5872 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/1.447, allocations: 14.19 kB / 0.5872 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/1.447, allocations: 116.7 kB / 0.5874 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.447, allocations: 0 / 0.5874 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/1.448, allocations: 0.6621 MB / 0.588 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.448, allocations: 0 / 0.588 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/1.448, allocations: 343.4 kB / 0.5883 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/1.448, allocations: 38.06 kB / 0.5884 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/1.448, allocations: 11.89 kB / 0.5884 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/1.448, allocations: 4 kB / 0.5884 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/1.448, allocations: 15.27 kB / 0.5884 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/1.448, allocations: 1.75 kB / 0.5884 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001758/1.448, allocations: 239.1 kB / 0.5886 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.448, allocations: 0 / 0.5886 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004316/1.453, allocations: 1.208 MB / 0.5898 GB, free: 240 kB / 0.4948 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.005267/1.458, allocations: 2.667 MB / 0.5924 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004794/1.458, allocations: 226.9 kB / 0.5926 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.458, allocations: 0 / 0.5926 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/1.459, allocations: 82.84 kB / 0.5927 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/1.459, allocations: 124.4 kB / 0.5928 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/1.462, allocations: 3.051 MB / 0.5958 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.949e-05/1.462, allocations: 165.9 kB / 0.596 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.118e-05/1.462, allocations: 18.7 kB / 0.596 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/1.463, allocations: 93.12 kB / 0.5961 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/1.463, allocations: 0 / 0.5961 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/1.532, allocations: 48.75 MB / 0.6437 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.616/11.15, allocations: 1.875 kB / 0.6437 GB, free: 9.547 MB / 0.5573 GB " [Timeout remaining time 649] (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: 12.577187853865325] Failed to read output from testmodel.py, exit status != 0: 11.493893224745989 11.399992043 10.05114554 Calling exit ...