Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) 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.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8449/0.8449, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 17.72 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05445/0.0548, allocations: 31.35 MB / 269.1 MB, free: 7.051 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.699/1.754, allocations: 294.7 MB / 0.5507 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5795/2.334, allocations: 190.1 MB / 0.7363 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/2.334, allocations: 5.625 kB / 0.7363 GB, free: 1.727 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67: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 4.0.0-master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67: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 4.0.0-master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65: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.0001383/2.334, allocations: 37.72 kB / 0.7363 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/2.335, allocations: 116 kB / 0.7364 GB, free: 1.727 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.03222/2.367, allocations: 12.11 MB / 0.7483 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006079/2.367, allocations: 397.1 kB / 0.7486 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/2.368, allocations: 204.3 kB / 0.7488 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/2.368, allocations: 163.4 kB / 0.749 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/2.368, allocations: 177.3 kB / 0.7492 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/2.368, allocations: 33.34 kB / 0.7492 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04285/2.411, allocations: 21.01 MB / 0.7697 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/2.411, allocations: 70.91 kB / 0.7698 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/2.412, allocations: 186.4 kB / 0.77 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03183/2.443, allocations: 10.42 MB / 0.7801 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/2.444, allocations: 0 / 0.7801 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/2.444, allocations: 0 / 0.7801 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.837e-06/2.444, allocations: 1.125 kB / 0.7801 GB, free: 12.86 MB / 0.6075 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.005548/2.449, allocations: 1.87 MB / 0.782 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/2.449, allocations: 10.28 kB / 0.782 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/2.449, allocations: 42.28 kB / 0.782 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/2.45, allocations: 305.5 kB / 0.7823 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/2.45, allocations: 28.06 kB / 0.7823 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/2.45, allocations: 39 kB / 0.7824 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/2.45, allocations: 376.8 kB / 0.7827 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/2.45, allocations: 4.641 kB / 0.7827 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/2.45, allocations: 12.56 kB / 0.7827 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/2.45, allocations: 9.062 kB / 0.7828 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/2.451, allocations: 250.3 kB / 0.783 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/2.459, allocations: 6.157 MB / 0.789 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/2.459, allocations: 88.73 kB / 0.7891 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/2.459, allocations: 25.8 kB / 0.7891 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3154/2.774, allocations: 155.6 MB / 0.9411 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/2.775, allocations: 34.55 kB / 0.9411 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/2.775, allocations: 0 / 0.9411 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008225/2.775, allocations: 260.4 kB / 0.9414 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/2.775, allocations: 82.25 kB / 0.9415 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/2.776, allocations: 282.9 kB / 0.9417 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/2.776, allocations: 29.7 kB / 0.9418 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/2.776, allocations: 238 kB / 0.942 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/2.776, allocations: 27.64 kB / 0.942 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/2.776, allocations: 61.84 kB / 0.9421 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.776, allocations: 334.8 kB / 0.9424 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/2.776, allocations: 54.44 kB / 0.9424 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/2.777, allocations: 160.7 kB / 0.9426 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/2.777, allocations: 205.6 kB / 0.9428 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/2.777, allocations: 3.984 kB / 0.9428 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005438/2.777, allocations: 276.4 kB / 0.9431 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/2.777, allocations: 4 kB / 0.9431 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.777, allocations: 4 kB / 0.9431 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/2.778, allocations: 107.3 kB / 0.9432 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/2.779, allocations: 52.95 kB / 0.9432 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004617/2.779, allocations: 0.5632 MB / 0.9438 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/2.779, allocations: 35.59 kB / 0.9438 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/2.779, allocations: 16 kB / 0.9438 GB, free: 11.29 MB / 0.7794 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 0.0001454/2.779, allocations: 150.2 kB / 0.944 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/2.78, allocations: 27.7 kB / 0.944 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/2.78, allocations: 168.9 kB / 0.9442 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/2.78, allocations: 3.984 kB / 0.9442 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/2.78, allocations: 0 / 0.9442 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/2.78, allocations: 104.8 kB / 0.9443 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/2.78, allocations: 4 kB / 0.9443 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/2.78, allocations: 0 / 0.9443 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/2.78, allocations: 7.984 kB / 0.9443 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003358/2.781, allocations: 198 kB / 0.9445 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002705/2.781, allocations: 304.5 kB / 0.9447 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.551e-05/2.781, allocations: 24.03 kB / 0.9448 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001899/2.781, allocations: 198 kB / 0.945 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Backend: time 7.92e-07/2.781, allocations: 0 / 0.945 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01531/2.797, allocations: 3.846 MB / 0.9487 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of SimCode: time 0.001316/2.798, allocations: 0.9839 MB / 0.9497 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.2776/3.076, allocations: 75.56 MB / 1.023 GB, free: 462.4 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)