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 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7702/0.7702, allocations: 152.6 MB / 170.7 MB, free: 6.277 MB / 142.1 MB [Timeout remaining time 89] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 19.97 kB / 247.3 MB, free: 6.371 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 33.04 MB / 280.3 MB, free: 3.676 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.41/1.55, allocations: 300.8 MB / 0.5675 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2365/1.787, allocations: 34.51 MB / 0.6012 GB, free: 6.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/1.787, allocations: 1.781 kB / 0.6012 GB, free: 6.32 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0003155/1.787, allocations: 128.9 kB / 0.6013 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/1.787, allocations: 86.47 kB / 0.6014 GB, free: 6.199 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02138/1.809, allocations: 9.786 MB / 0.611 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/1.809, allocations: 275.2 kB / 0.6112 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/1.809, allocations: 86.38 kB / 0.6113 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/1.809, allocations: 118.1 kB / 0.6114 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/1.809, allocations: 94.52 kB / 0.6115 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/1.809, allocations: 16.69 kB / 0.6116 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03238/1.842, allocations: 17.91 MB / 0.629 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/1.842, allocations: 44.39 kB / 0.6291 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/1.842, allocations: 116 kB / 0.6292 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01932/1.861, allocations: 8.38 MB / 0.6374 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.861, allocations: 4.688 kB / 0.6374 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.861, allocations: 1.156 kB / 0.6374 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.861, allocations: 1.031 kB / 0.6374 GB, free: 9.898 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003722/1.865, allocations: 1.451 MB / 0.6388 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.865, allocations: 8.031 kB / 0.6388 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/1.865, allocations: 27.81 kB / 0.6388 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/1.865, allocations: 223.2 kB / 0.639 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/1.865, allocations: 16.31 kB / 0.6391 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.865, allocations: 20 kB / 0.6391 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/1.866, allocations: 260.1 kB / 0.6393 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.866, allocations: 0.625 kB / 0.6393 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/1.866, allocations: 11.94 kB / 0.6393 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.866, allocations: 11.98 kB / 0.6394 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/1.866, allocations: 141.2 kB / 0.6395 GB, free: 7.629 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.01902/1.885, allocations: 9.552 MB / 0.6488 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/1.885, allocations: 71.44 kB / 0.6489 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/1.886, allocations: 45.88 kB / 0.6489 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1525/2.038, allocations: 77.74 MB / 0.7248 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/2.038, allocations: 30.56 kB / 0.7249 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/2.038, allocations: 0 / 0.7249 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22): time 0.0005371/2.039, allocations: 205.4 kB / 0.7251 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/2.039, allocations: 52.25 kB / 0.7251 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/2.039, allocations: 224.1 kB / 0.7253 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/2.039, allocations: 29.7 kB / 0.7254 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/2.039, allocations: 144.4 kB / 0.7255 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/2.039, allocations: 83.25 kB / 0.7256 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/2.039, allocations: 37.7 kB / 0.7256 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001518/2.039, allocations: 330.8 kB / 0.7259 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/2.039, allocations: 51.97 kB / 0.726 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/2.04, allocations: 88.2 kB / 0.7261 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/2.04, allocations: 158.5 kB / 0.7262 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.04, allocations: 0 / 0.7262 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003617/2.04, allocations: 196.7 kB / 0.7264 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/2.04, allocations: 12.72 kB / 0.7264 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/2.04, allocations: 1.812 kB / 0.7264 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/2.04, allocations: 4 kB / 0.7264 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/2.041, allocations: 99.94 kB / 0.7265 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/2.041, allocations: 0.9375 kB / 0.7265 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/2.041, allocations: 35.72 kB / 0.7265 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/2.041, allocations: 4 kB / 0.7266 GB, free: 4.68 MB / 0.5919 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.0001216/2.041, allocations: 129.8 kB / 0.7267 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/2.041, allocations: 23.8 kB / 0.7267 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/2.042, allocations: 325 kB / 0.727 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002505/2.042, allocations: 167 kB / 0.7272 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/2.042, allocations: 0 / 0.7272 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/2.042, allocations: 0 / 0.7272 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/2.043, allocations: 0.603 MB / 0.7278 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.043, allocations: 1.875 kB / 0.7278 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/2.043, allocations: 95.92 kB / 0.7279 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/2.043, allocations: 7.984 kB / 0.7279 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/2.043, allocations: 0 / 0.7279 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/2.043, allocations: 0 / 0.7279 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.043, allocations: 4 kB / 0.7279 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/2.044, allocations: 293 kB / 0.7281 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/2.044, allocations: 110.3 kB / 0.7282 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/2.044, allocations: 5.062 kB / 0.7283 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/2.044, allocations: 8 kB / 0.7283 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/2.044, allocations: 11.92 kB / 0.7283 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/2.044, allocations: 0 / 0.7283 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002092/2.044, allocations: 214 kB / 0.7285 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/2.044, allocations: 0 / 0.7285 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002769/2.047, allocations: 1.189 MB / 0.7296 GB, free: 1.379 MB / 0.5919 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.005181/2.052, allocations: 1.732 MB / 0.7313 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004364/2.053, allocations: 186 kB / 0.7315 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.053, allocations: 4.656 kB / 0.7315 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/2.053, allocations: 59.84 kB / 0.7316 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/2.053, allocations: 97.06 kB / 0.7317 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/2.054, allocations: 499.2 kB / 0.7321 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/2.054, allocations: 0.7558 MB / 0.7329 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/2.055, allocations: 19.44 kB / 0.7329 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/2.055, allocations: 0 / 0.7329 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.03337/2.088, allocations: 23.3 MB / 0.7556 GB, free: 7.137 MB / 0.6231 GB [Timeout remaining time 658] 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]