Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.8638/0.8638, allocations: 153.8 MB / 172.7 MB, free: 4.836 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005466/0.0005466, allocations: 11.97 kB / 250.3 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1608, allocations: 33.36 MB / 283.7 MB, free: 2.043 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.TestCentrifugalPump8): time 1.886/2.046, allocations: 307.7 MB / 0.5775 GB, free: 17.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/2.074, allocations: 27.73 MB / 0.6046 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/2.075, allocations: 3.469 kB / 0.6046 GB, free: 4.566 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/SourceAngularVelocity.mo:11:3-15: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.0004277/2.075, allocations: 106.2 kB / 0.6047 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/2.075, allocations: 120.5 kB / 0.6048 GB, free: 4.449 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.02027/2.096, allocations: 8.589 MB / 0.6132 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/2.096, allocations: 446.5 kB / 0.6136 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/2.097, allocations: 171.7 kB / 0.6138 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/2.097, allocations: 195.6 kB / 0.614 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/2.097, allocations: 167.1 kB / 0.6141 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/2.097, allocations: 29.69 kB / 0.6141 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02891/2.126, allocations: 14.26 MB / 0.6281 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/2.126, allocations: 190.8 kB / 0.6283 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/2.127, allocations: 226.3 kB / 0.6285 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/2.143, allocations: 7.982 MB / 0.6363 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/2.143, allocations: 0 / 0.6363 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/2.143, allocations: 1.969 kB / 0.6363 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.037e-06/2.143, allocations: 0 / 0.6363 GB, free: 9.109 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004182/2.148, allocations: 1.829 MB / 0.638 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/2.148, allocations: 8.031 kB / 0.6381 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/2.148, allocations: 96.05 kB / 0.6381 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/2.148, allocations: 375.2 kB / 0.6385 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/2.148, allocations: 29.78 kB / 0.6385 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/2.148, allocations: 28 kB / 0.6386 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/2.149, allocations: 0.57 MB / 0.6391 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/2.149, allocations: 4.797 kB / 0.6391 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/2.149, allocations: 16.84 kB / 0.6391 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/2.149, allocations: 8 kB / 0.6391 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/2.151, allocations: 0.6097 MB / 0.6397 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/2.153, allocations: 1.968 MB / 0.6417 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/2.155, allocations: 0.7612 MB / 0.6424 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/2.155, allocations: 282 kB / 0.6427 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08352/2.239, allocations: 22.61 MB / 0.6648 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/2.239, allocations: 34.56 kB / 0.6648 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.575e-06/2.239, allocations: 0.9375 kB / 0.6648 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004771/2.244, allocations: 1.458 MB / 0.6662 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/2.244, allocations: 59.41 kB / 0.6663 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009613/2.245, allocations: 0.7274 MB / 0.667 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/2.245, allocations: 29.7 kB / 0.667 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/2.245, allocations: 356.8 kB / 0.6673 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/2.245, allocations: 138.8 kB / 0.6675 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/2.245, allocations: 65.64 kB / 0.6675 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/2.245, allocations: 325.9 kB / 0.6679 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/2.246, allocations: 263.9 kB / 0.6681 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/2.246, allocations: 313.6 kB / 0.6684 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/2.247, allocations: 0.584 MB / 0.669 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.247, allocations: 0 / 0.669 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001679/2.249, allocations: 0.8667 MB / 0.6698 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/2.249, allocations: 5.406 kB / 0.6698 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/2.249, allocations: 7.938 kB / 0.6698 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/2.254, allocations: 0.8021 MB / 0.6706 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/2.254, allocations: 35.91 kB / 0.6706 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/2.256, allocations: 1.279 MB / 0.6719 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/2.256, allocations: 40.95 kB / 0.6719 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/2.256, allocations: 9.031 kB / 0.6719 GB, free: 4.258 MB / 0.5294 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 (sink.C.a,sourcePQ.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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000334/2.256, allocations: 249.7 kB / 0.6722 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/2.256, allocations: 75.48 kB / 0.6723 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/2.258, allocations: 1.034 MB / 0.6733 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001665/2.26, allocations: 0.8542 MB / 0.6741 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.26, allocations: 0 / 0.6741 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/2.26, allocations: 3.984 kB / 0.6741 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/2.263, allocations: 1.765 MB / 0.6758 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.263, allocations: 0.5625 kB / 0.6758 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/2.264, allocations: 40.78 kB / 0.6759 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/2.266, allocations: 0.5663 MB / 0.6764 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/2.266, allocations: 4 kB / 0.6764 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/2.268, allocations: 1.302 MB / 0.6777 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.268, allocations: 0 / 0.6777 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/2.27, allocations: 1.033 MB / 0.6787 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/2.27, allocations: 99.28 kB / 0.6788 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/2.27, allocations: 8.812 kB / 0.6788 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/2.27, allocations: 23.97 kB / 0.6788 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/2.27, allocations: 27.89 kB / 0.6789 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/2.27, allocations: 12 kB / 0.6789 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000651/2.271, allocations: 0.5068 MB / 0.6794 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.271, allocations: 0 / 0.6794 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003026/2.274, allocations: 1.165 MB / 0.6805 GB, free: 11.38 MB / 0.545 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00551/2.279, allocations: 1.626 MB / 0.6821 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001729/2.281, allocations: 0.6996 MB / 0.6828 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.281, allocations: 0 / 0.6828 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009015/2.282, allocations: 383.8 kB / 0.6831 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/2.283, allocations: 86.78 kB / 0.6832 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/2.286, allocations: 1.609 MB / 0.6848 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/2.286, allocations: 393.1 kB / 0.6852 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001175/2.286, allocations: 20.58 kB / 0.6852 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/2.286, allocations: 25.03 kB / 0.6852 GB, free: 6.531 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/2.286, allocations: 0 / 0.6852 GB, free: 6.531 MB / 0.545 GB Notification: Performance of Templates: time 0.06077/2.347, allocations: 41.08 MB / 0.7253 GB, free: 13.88 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.24690749309957] Failed to read output from testmodel.py, exit status != 0: 2.508509576320648 2.52347637 0.376870494 Calling exit ...