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.8262/0.8262, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 17.41 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06318/0.06356, 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.681/1.744, allocations: 294.8 MB / 0.5507 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5558/2.3, allocations: 190.1 MB / 0.7363 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/2.301, allocations: 7.875 kB / 0.7363 GB, free: 1.762 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.000199/2.301, allocations: 37.28 kB / 0.7363 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005337/2.302, allocations: 114.5 kB / 0.7364 GB, free: 1.762 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.04285/2.344, allocations: 12.1 MB / 0.7482 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006425/2.345, allocations: 401 kB / 0.7486 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/2.345, allocations: 203.7 kB / 0.7488 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/2.346, allocations: 164.6 kB / 0.749 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/2.346, allocations: 176.1 kB / 0.7491 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/2.346, allocations: 34.75 kB / 0.7492 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04184/2.388, allocations: 21.01 MB / 0.7697 GB, free: 368 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/2.388, allocations: 75.12 kB / 0.7698 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/2.388, allocations: 191.2 kB / 0.77 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03382/2.422, allocations: 10.43 MB / 0.7801 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/2.422, allocations: 0.875 kB / 0.7801 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.297e-06/2.422, allocations: 0 / 0.7801 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.364e-05/2.422, allocations: 3.094 kB / 0.7801 GB, free: 12.84 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.006004/2.428, allocations: 1.866 MB / 0.782 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/2.428, allocations: 11.16 kB / 0.782 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/2.428, allocations: 40.94 kB / 0.782 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/2.429, allocations: 305.5 kB / 0.7823 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/2.429, allocations: 25.06 kB / 0.7823 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/2.429, allocations: 39.5 kB / 0.7824 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/2.429, allocations: 380.2 kB / 0.7827 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/2.43, allocations: 3.969 kB / 0.7827 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/2.43, allocations: 17.3 kB / 0.7828 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/2.43, allocations: 8.594 kB / 0.7828 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/2.43, allocations: 246.1 kB / 0.783 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00853/2.438, allocations: 6.158 MB / 0.789 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/2.439, allocations: 87.53 kB / 0.7891 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/2.439, allocations: 29.81 kB / 0.7891 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.319/2.758, allocations: 155.6 MB / 0.9411 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/2.758, allocations: 33.75 kB / 0.9411 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/2.758, allocations: 0 / 0.9411 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0009182/2.759, allocations: 255 kB / 0.9414 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/2.759, allocations: 80.2 kB / 0.9415 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/2.759, allocations: 290.9 kB / 0.9417 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/2.759, allocations: 26.8 kB / 0.9418 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/2.76, allocations: 230.3 kB / 0.942 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/2.76, allocations: 27.64 kB / 0.942 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/2.76, allocations: 65.84 kB / 0.9421 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/2.76, allocations: 338.8 kB / 0.9424 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/2.76, allocations: 48.44 kB / 0.9424 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/2.76, allocations: 159.3 kB / 0.9426 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/2.761, allocations: 204.6 kB / 0.9428 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/2.761, allocations: 5.203 kB / 0.9428 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005921/2.761, allocations: 279.6 kB / 0.9431 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/2.761, allocations: 8 kB / 0.9431 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/2.761, allocations: 9.578 kB / 0.9431 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009601/2.762, allocations: 107.9 kB / 0.9432 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/2.762, allocations: 47.2 kB / 0.9432 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005256/2.763, allocations: 0.568 MB / 0.9438 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/2.763, allocations: 31.59 kB / 0.9438 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/2.763, allocations: 12 kB / 0.9438 GB, free: 11.12 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.0002007/2.763, allocations: 153 kB / 0.944 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/2.763, allocations: 23.72 kB / 0.944 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/2.764, allocations: 176 kB / 0.9442 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/2.764, allocations: 1.125 kB / 0.9442 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.764, allocations: 2.688 kB / 0.9442 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/2.764, allocations: 4 kB / 0.9442 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/2.764, allocations: 301.4 kB / 0.9445 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/2.764, allocations: 4 kB / 0.9445 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/2.764, allocations: 4 kB / 0.9445 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/2.765, allocations: 83.77 kB / 0.9445 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/2.765, allocations: 7.984 kB / 0.9445 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004251/2.765, allocations: 0.5581 MB / 0.9451 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/2.765, allocations: 1.094 kB / 0.9451 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/2.766, allocations: 172 kB / 0.9453 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/2.766, allocations: 112.8 kB / 0.9454 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/2.766, allocations: 0 / 0.9454 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/2.766, allocations: 3.984 kB / 0.9454 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/2.766, allocations: 4 kB / 0.9454 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/2.766, allocations: 5.688 kB / 0.9454 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002237/2.766, allocations: 213.9 kB / 0.9456 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/2.766, allocations: 1.203 kB / 0.9456 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005124/2.772, allocations: 1.604 MB / 0.9471 GB, free: 7.594 MB / 0.7794 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.008949/2.781, allocations: 2.471 MB / 0.9496 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005939/2.781, allocations: 139 kB / 0.9497 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/2.781, allocations: 0 / 0.9497 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/2.781, allocations: 45.64 kB / 0.9497 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/2.782, allocations: 74.94 kB / 0.9498 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009261/2.783, allocations: 488.6 kB / 0.9503 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/2.783, allocations: 0.7635 MB / 0.951 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/2.783, allocations: 31.42 kB / 0.951 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/2.783, allocations: 1.094 kB / 0.9511 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.04785/2.831, allocations: 31.18 MB / 0.9815 GB, free: 4.695 MB / 0.8106 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)