Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.8914/0.8914, allocations: 153.8 MB / 173.4 MB, free: 4.918 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005685/0.0005685, allocations: 15.97 kB / 251.1 MB, free: 3.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 33.37 MB / 284.5 MB, free: 2.109 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.TestInvSingularPressureLoss): time 1.993/2.215, allocations: 307.3 MB / 0.5779 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03768/2.253, allocations: 34.66 MB / 0.6117 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/2.253, allocations: 3.531 kB / 0.6117 GB, free: 14.63 MB / 494.1 MB [/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/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/InvSingularPressureLoss.mo:26:3-28:16: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/InvSingularPressureLoss.mo:29:3-30:83: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.0005598/2.254, allocations: 120.3 kB / 0.6119 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/2.254, allocations: 84.58 kB / 0.6119 GB, free: 14.52 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.03376/2.288, allocations: 9.813 MB / 0.6215 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006677/2.289, allocations: 292.9 kB / 0.6218 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/2.289, allocations: 81.17 kB / 0.6219 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/2.289, allocations: 132.8 kB / 0.622 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/2.289, allocations: 92.48 kB / 0.6221 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/2.289, allocations: 16 kB / 0.6221 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04308/2.333, allocations: 17.92 MB / 0.6396 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/2.333, allocations: 43.83 kB / 0.6396 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/2.333, allocations: 111.4 kB / 0.6397 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02639/2.359, allocations: 8.396 MB / 0.6479 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/2.359, allocations: 4 kB / 0.648 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/2.359, allocations: 0 / 0.648 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.357e-06/2.359, allocations: 4 kB / 0.648 GB, free: 13.94 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004782/2.364, allocations: 1.376 MB / 0.6493 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/2.364, allocations: 12.97 kB / 0.6493 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/2.364, allocations: 25.38 kB / 0.6493 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/2.364, allocations: 160.9 kB / 0.6495 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/2.364, allocations: 16.31 kB / 0.6495 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/2.364, allocations: 24 kB / 0.6495 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/2.365, allocations: 264.5 kB / 0.6498 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/2.365, allocations: 1.125 kB / 0.6498 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/2.365, allocations: 8 kB / 0.6498 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/2.365, allocations: 11.98 kB / 0.6498 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/2.365, allocations: 156.2 kB / 0.6499 GB, free: 11.81 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.01901/2.384, allocations: 6.08 MB / 0.6559 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/2.384, allocations: 66.56 kB / 0.656 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/2.385, allocations: 52.88 kB / 0.656 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1469/2.531, allocations: 43.41 MB / 0.6984 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/2.532, allocations: 38.55 kB / 0.6984 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/2.532, allocations: 3.938 kB / 0.6984 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006678/2.532, allocations: 199.3 kB / 0.6986 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/2.532, allocations: 63.39 kB / 0.6987 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/2.533, allocations: 220.1 kB / 0.6989 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/2.533, allocations: 30.55 kB / 0.6989 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/2.533, allocations: 144.5 kB / 0.6991 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/2.533, allocations: 75.33 kB / 0.6991 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/2.533, allocations: 49.69 kB / 0.6992 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001609/2.533, allocations: 326.8 kB / 0.6995 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/2.533, allocations: 51.97 kB / 0.6995 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/2.533, allocations: 93.27 kB / 0.6996 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/2.534, allocations: 160.1 kB / 0.6998 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.534, allocations: 0 / 0.6998 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000374/2.534, allocations: 195.4 kB / 0.7 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/2.534, allocations: 16.06 kB / 0.7 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.534, allocations: 1.219 kB / 0.7 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/2.534, allocations: 4 kB / 0.7 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/2.535, allocations: 95.81 kB / 0.7001 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/2.535, allocations: 4 kB / 0.7001 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/2.535, allocations: 36.59 kB / 0.7001 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/2.535, allocations: 8.844 kB / 0.7001 GB, free: 8.172 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/2.535, allocations: 124.2 kB / 0.7002 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/2.535, allocations: 23.8 kB / 0.7003 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/2.536, allocations: 331.9 kB / 0.7006 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002694/2.536, allocations: 162.3 kB / 0.7007 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/2.536, allocations: 0.5 kB / 0.7007 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/2.536, allocations: 0 / 0.7007 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/2.537, allocations: 0.5785 MB / 0.7013 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/2.537, allocations: 0 / 0.7013 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/2.537, allocations: 100.9 kB / 0.7014 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/2.537, allocations: 0 / 0.7014 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/2.537, allocations: 8.75 kB / 0.7014 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/2.537, allocations: 0 / 0.7014 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.537, allocations: 3.938 kB / 0.7014 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/2.538, allocations: 290.6 kB / 0.7017 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/2.538, allocations: 27.78 kB / 0.7017 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/2.538, allocations: 10.42 kB / 0.7017 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/2.538, allocations: 7.984 kB / 0.7017 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/2.538, allocations: 11.92 kB / 0.7017 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/2.538, allocations: 8 kB / 0.7018 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002443/2.538, allocations: 210.1 kB / 0.702 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.538, allocations: 4 kB / 0.702 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003836/2.542, allocations: 1.189 MB / 0.7031 GB, free: 4.988 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006342/2.549, allocations: 1.738 MB / 0.7048 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000537/2.549, allocations: 181.5 kB / 0.705 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/2.549, allocations: 4 kB / 0.705 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/2.549, allocations: 68.61 kB / 0.7051 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/2.55, allocations: 94.16 kB / 0.7051 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/2.551, allocations: 498.4 kB / 0.7056 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/2.551, allocations: 0.7556 MB / 0.7064 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/2.551, allocations: 27.44 kB / 0.7064 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/2.551, allocations: 0 / 0.7064 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.04154/2.593, allocations: 23.41 MB / 0.7292 GB, free: 10.6 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.674614131217822] Failed to read output from testmodel.py, exit status != 0: 2.7815599660389125 2.797066017 0.434421149 Calling exit ...