Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.4876/0.4876, allocations: 111.6 MB / 131.2 MB, free: 4.617 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 176.1 MB, free: 9.238 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.9e-05, allocations: 8.422 kB / 176.2 MB, free: 9.234 MB / 170.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.072/1.072, allocations: 257 MB / 433.2 MB, free: 12 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3445/1.417, allocations: 184.2 MB / 0.6029 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/1.417, allocations: 7.938 kB / 0.6029 GB, free: 14.14 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:27:3-28:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:29:3-30:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001215/1.417, allocations: 43.52 kB / 0.6029 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/1.417, allocations: 122.9 kB / 0.6031 GB, free: 13.98 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02244/1.44, allocations: 12.41 MB / 0.6152 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00059/1.44, allocations: 426.5 kB / 0.6156 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/1.44, allocations: 177.1 kB / 0.6158 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/1.441, allocations: 263.4 kB / 0.616 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/1.441, allocations: 127.6 kB / 0.6161 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/1.441, allocations: 36 kB / 0.6162 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02506/1.466, allocations: 19.66 MB / 0.6354 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/1.466, allocations: 99.59 kB / 0.6355 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/1.466, allocations: 119.8 kB / 0.6356 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.487, allocations: 12.91 MB / 0.6482 GB, free: 15.67 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.487, allocations: 0 / 0.6482 GB, free: 15.67 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.342e-06/1.487, allocations: 3.938 kB / 0.6482 GB, free: 15.66 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.487, allocations: 0 / 0.6482 GB, free: 15.66 MB / 0.573 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.003573/1.49, allocations: 1.995 MB / 0.6501 GB, free: 13.62 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.49, allocations: 15.98 kB / 0.6501 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/1.49, allocations: 76.34 kB / 0.6502 GB, free: 13.53 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/1.491, allocations: 266.7 kB / 0.6505 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/1.491, allocations: 29 kB / 0.6505 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/1.491, allocations: 39.94 kB / 0.6505 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.491, allocations: 379.6 kB / 0.6509 GB, free: 12.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.491, allocations: 0 / 0.6509 GB, free: 12.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/1.491, allocations: 16 kB / 0.6509 GB, free: 12.74 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.491, allocations: 8.5 kB / 0.6509 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/1.492, allocations: 147.8 kB / 0.6511 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004224/1.496, allocations: 3.491 MB / 0.6545 GB, free: 9.031 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.496, allocations: 67.52 kB / 0.6545 GB, free: 8.953 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/1.496, allocations: 27.66 kB / 0.6546 GB, free: 8.922 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3686/1.864, allocations: 89.02 MB / 0.7415 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.865, allocations: 33.39 kB / 0.7415 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/1.865, allocations: 0 / 0.7415 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005879/1.865, allocations: 167.4 kB / 0.7417 GB, free: 91.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.865, allocations: 77.11 kB / 0.7418 GB, free: 91.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/1.865, allocations: 349.6 kB / 0.7421 GB, free: 90.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/1.865, allocations: 29.33 kB / 0.7421 GB, free: 90.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.866, allocations: 287.2 kB / 0.7424 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/1.866, allocations: 24.34 kB / 0.7424 GB, free: 90.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/1.866, allocations: 79.81 kB / 0.7425 GB, free: 90.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/1.866, allocations: 0.4972 MB / 0.743 GB, free: 90.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/1.866, allocations: 28.88 kB / 0.743 GB, free: 90.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/1.866, allocations: 211.3 kB / 0.7432 GB, free: 89.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/1.866, allocations: 222 kB / 0.7434 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.866, allocations: 2.875 kB / 0.7434 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003136/1.866, allocations: 252 kB / 0.7437 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.866, allocations: 6.844 kB / 0.7437 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.866, allocations: 3.562 kB / 0.7437 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/1.867, allocations: 88.25 kB / 0.7438 GB, free: 89.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.867, allocations: 39.05 kB / 0.7438 GB, free: 89.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002622/1.867, allocations: 0.8285 MB / 0.7446 GB, free: 88.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.867, allocations: 31.88 kB / 0.7446 GB, free: 88.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.867, allocations: 10.91 kB / 0.7446 GB, free: 88.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/1.867, allocations: 181.2 kB / 0.7448 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/1.867, allocations: 25.39 kB / 0.7448 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/1.868, allocations: 161.3 kB / 0.745 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.868, allocations: 9.281 kB / 0.745 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.868, allocations: 0 / 0.745 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.868, allocations: 4 kB / 0.745 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/1.868, allocations: 224.8 kB / 0.7452 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.868, allocations: 3.891 kB / 0.7452 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/1.868, allocations: 8.656 kB / 0.7452 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/1.868, allocations: 68.45 kB / 0.7453 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/1.868, allocations: 6.688 kB / 0.7453 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002038/1.868, allocations: 0.821 MB / 0.7461 GB, free: 87.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.868, allocations: 0 / 0.7461 GB, free: 87.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/1.869, allocations: 165.6 kB / 0.7463 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/1.869, allocations: 43.55 kB / 0.7463 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/1.869, allocations: 0.9375 kB / 0.7463 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/1.869, allocations: 6.75 kB / 0.7463 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/1.869, allocations: 6.938 kB / 0.7463 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.869, allocations: 3.875 kB / 0.7463 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001133/1.869, allocations: 225.8 kB / 0.7465 GB, free: 87.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.869, allocations: 0 / 0.7465 GB, free: 87.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003116/1.872, allocations: 1.642 MB / 0.7481 GB, free: 87.39 MB / 0.6198 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 (4): * Single equations (assignments): 3 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004749/1.877, allocations: 2.692 MB / 0.7508 GB, free: 87.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003533/1.877, allocations: 115.6 kB / 0.7509 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.877, allocations: 320 / 0.7509 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/1.877, allocations: 42.55 kB / 0.7509 GB, free: 87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.877, allocations: 75.84 kB / 0.751 GB, free: 86.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/1.879, allocations: 0.499 MB / 0.7515 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/1.879, allocations: 91.33 kB / 0.7516 GB, free: 86.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.879, allocations: 40.59 kB / 0.7516 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/1.879, allocations: 25.3 kB / 0.7516 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/1.879, allocations: 4 kB / 0.7516 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.04791/1.927, allocations: 49.8 MB / 0.8003 GB, free: 46.51 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.710942171048373]