Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.9185/0.9185, allocations: 120.4 MB / 140.1 MB, free: 28 kB / 126.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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005684/0.0005684, allocations: 19.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05952/0.06008, allocations: 33.37 MB / 251.1 MB, free: 11.55 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.TestCentrifugalPump12): time 1.748/1.808, allocations: 254.2 MB / 0.4934 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03924/1.847, allocations: 27.73 MB / 0.5205 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/1.848, allocations: 0 / 0.5205 GB, free: 3.277 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/Machines/CentrifugalPump.mo:120:3-122:37:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/Sink.mo:17:3-19:16: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/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003957/1.848, allocations: 105.6 kB / 0.5206 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/1.848, allocations: 122.7 kB / 0.5207 GB, free: 3.059 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.02208/1.87, allocations: 8.594 MB / 0.5291 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006961/1.871, allocations: 458.3 kB / 0.5295 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/1.871, allocations: 173.3 kB / 0.5297 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/1.872, allocations: 207.1 kB / 0.5299 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/1.872, allocations: 175.2 kB / 0.5301 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.199e-05/1.872, allocations: 32 kB / 0.5301 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/1.899, allocations: 14.28 MB / 0.544 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/1.899, allocations: 195.3 kB / 0.5442 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/1.899, allocations: 222.4 kB / 0.5444 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/1.916, allocations: 8.005 MB / 0.5523 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.916, allocations: 3.938 kB / 0.5523 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.916, allocations: 0 / 0.5523 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.916, allocations: 0 / 0.5523 GB, free: 2.703 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004382/1.921, allocations: 1.853 MB / 0.5541 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.921, allocations: 8.031 kB / 0.5541 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/1.921, allocations: 95.38 kB / 0.5542 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/1.921, allocations: 385.3 kB / 0.5545 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/1.921, allocations: 28.59 kB / 0.5546 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/1.921, allocations: 32 kB / 0.5546 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/1.922, allocations: 486.8 kB / 0.5551 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.922, allocations: 3.938 kB / 0.5551 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/1.922, allocations: 12 kB / 0.5551 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/1.922, allocations: 15.98 kB / 0.5551 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.923, allocations: 0.4905 MB / 0.5556 GB, free: 15.22 MB / 0.5137 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.002241/1.926, allocations: 1.488 MB / 0.557 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/1.927, allocations: 0.6166 MB / 0.5576 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/1.928, allocations: 212.7 kB / 0.5578 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08362/2.011, allocations: 22.6 MB / 0.5799 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/2.011, allocations: 50.42 kB / 0.5799 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 4.329e-06/2.011, allocations: 7.984 kB / 0.58 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.003359/2.015, allocations: 0.9974 MB / 0.5809 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/2.015, allocations: 55.41 kB / 0.581 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/2.016, allocations: 0.7548 MB / 0.5817 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/2.016, allocations: 29.7 kB / 0.5817 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/2.016, allocations: 368.7 kB / 0.5821 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/2.016, allocations: 138.8 kB / 0.5822 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/2.016, allocations: 70.02 kB / 0.5823 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/2.017, allocations: 322 kB / 0.5826 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/2.017, allocations: 216.7 kB / 0.5828 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/2.018, allocations: 268.7 kB / 0.5831 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/2.019, allocations: 480.9 kB / 0.5835 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.019, allocations: 3.938 kB / 0.5835 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001665/2.02, allocations: 0.795 MB / 0.5843 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.02, allocations: 8.031 kB / 0.5843 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/2.02, allocations: 7.938 kB / 0.5843 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00492/2.025, allocations: 0.8729 MB / 0.5852 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/2.025, allocations: 47.91 kB / 0.5852 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/2.027, allocations: 1.314 MB / 0.5865 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/2.028, allocations: 47.77 kB / 0.5865 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/2.028, allocations: 19.98 kB / 0.5866 GB, free: 15.26 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003381/2.028, allocations: 245.7 kB / 0.5868 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/2.028, allocations: 79.48 kB / 0.5869 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/2.03, allocations: 0.8035 MB / 0.5877 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001225/2.031, allocations: 0.6125 MB / 0.5883 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/2.031, allocations: 0 / 0.5883 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/2.031, allocations: 7.984 kB / 0.5883 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/2.033, allocations: 1.379 MB / 0.5896 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.034, allocations: 0 / 0.5896 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/2.034, allocations: 75.83 kB / 0.5897 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/2.036, allocations: 388.5 kB / 0.5901 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/2.036, allocations: 15.98 kB / 0.5901 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/2.037, allocations: 0.8186 MB / 0.5909 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.037, allocations: 0 / 0.5909 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/2.039, allocations: 1.114 MB / 0.592 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/2.039, allocations: 111.2 kB / 0.5921 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/2.039, allocations: 12 kB / 0.5921 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/2.04, allocations: 23.97 kB / 0.5921 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/2.04, allocations: 31.83 kB / 0.5921 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/2.04, allocations: 15.98 kB / 0.5921 GB, free: 9.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006711/2.04, allocations: 0.5185 MB / 0.5927 GB, free: 8.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.04, allocations: 7.938 kB / 0.5927 GB, free: 8.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002893/2.043, allocations: 1.177 MB / 0.5938 GB, free: 7.727 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005141/2.048, allocations: 1.616 MB / 0.5954 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001594/2.05, allocations: 0.6137 MB / 0.596 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.05, allocations: 3.938 kB / 0.596 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000782/2.051, allocations: 313.5 kB / 0.5963 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/2.051, allocations: 91.19 kB / 0.5964 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/2.054, allocations: 1.566 MB / 0.5979 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/2.055, allocations: 389.9 kB / 0.5983 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001568/2.055, allocations: 38.28 kB / 0.5983 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/2.055, allocations: 28.48 kB / 0.5983 GB, free: 3.008 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/2.055, allocations: 0 / 0.5983 GB, free: 3.008 MB / 0.545 GB Notification: Performance of Templates: time 0.06708/2.122, allocations: 40.82 MB / 0.6382 GB, free: 10.23 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.353182662045583] Failed to read output from testmodel.py, exit status != 0: 2.4351695529185236 2.445864521 0.527125266 Calling exit ...