Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.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.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9296/0.9296, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 19.98 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1493, allocations: 31.32 MB / 236 MB, free: 3.875 MB / 186.7 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.TestSensors): time 1.575/1.725, allocations: 293.2 MB / 0.5168 GB, free: 8.805 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4638/2.188, allocations: 187.7 MB / 0.7001 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/2.189, allocations: 2.5 kB / 0.7001 GB, free: 1.469 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Sensors/SensorH.mo:19:3-21:43: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/Sensors/SensorH.mo:22:3-24:38:writable] Warning: Connector C2 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/Sensors/SensorQ.mo:19:3-21:43: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/Sensors/SensorQ.mo:22:3-24:38:writable] Warning: Connector C2 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/Sensors/SensorQv.mo:33:3-35:24: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/Sensors/SensorQv.mo:36:3-38:17:writable] Warning: Connector C2 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/Sensors/SensorP.mo:19:3-21:43: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/Sensors/SensorP.mo:22:3-24:38:writable] Warning: Connector C2 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/Sensors/SensorT.mo:28:3-30:43: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/Sensors/SensorT.mo:31:3-33:38:writable] Warning: Connector C2 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/BoundaryConditions/SourceP.mo:30:3-31:45: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/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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.0004465/2.189, allocations: 123.4 kB / 0.7002 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/2.19, allocations: 172.2 kB / 0.7004 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02204/2.212, allocations: 8.7 MB / 0.7089 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008789/2.213, allocations: 0.6953 MB / 0.7096 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/2.213, allocations: 294.9 kB / 0.7099 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/2.213, allocations: 272.6 kB / 0.7101 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/2.214, allocations: 265.6 kB / 0.7104 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/2.214, allocations: 38.78 kB / 0.7104 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03276/2.246, allocations: 20.14 MB / 0.7301 GB, free: 13.27 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/2.247, allocations: 101.2 kB / 0.7302 GB, free: 13.26 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/2.247, allocations: 307.1 kB / 0.7305 GB, free: 13.24 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/2.27, allocations: 10.14 MB / 0.7404 GB, free: 9.105 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/2.27, allocations: 0 / 0.7404 GB, free: 9.105 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/2.27, allocations: 0 / 0.7404 GB, free: 9.105 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.416e-06/2.27, allocations: 0 / 0.7404 GB, free: 9.105 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005289/2.275, allocations: 1.953 MB / 0.7423 GB, free: 7.863 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/2.275, allocations: 11.3 kB / 0.7423 GB, free: 7.863 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/2.275, allocations: 70.84 kB / 0.7424 GB, free: 7.828 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/2.276, allocations: 328.8 kB / 0.7427 GB, free: 7.543 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/2.276, allocations: 41.16 kB / 0.7427 GB, free: 7.543 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/2.276, allocations: 57.67 kB / 0.7428 GB, free: 7.535 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/2.277, allocations: 0.6725 MB / 0.7434 GB, free: 7.246 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/2.277, allocations: 6.344 kB / 0.7434 GB, free: 7.242 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/2.277, allocations: 18.75 kB / 0.7435 GB, free: 7.242 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/2.277, allocations: 25.77 kB / 0.7435 GB, free: 7.238 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/2.277, allocations: 395.1 kB / 0.7439 GB, free: 7.176 MB / 0.573 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.0399/2.317, allocations: 20.71 MB / 0.7641 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/2.318, allocations: 226.8 kB / 0.7643 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/2.318, allocations: 171.8 kB / 0.7645 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3231/2.641, allocations: 150.5 MB / 0.9114 GB, free: 440 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/2.641, allocations: 34.56 kB / 0.9114 GB, free: 396 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=62): time 2.013e-06/2.641, allocations: 0 / 0.9114 GB, free: 396 kB / 0.7448 GB Notification: Performance of matching and sorting (n=62): time 0.001909/2.643, allocations: 0.7592 MB / 0.9122 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/2.643, allocations: 52.5 kB / 0.9122 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/2.643, allocations: 385.4 kB / 0.9126 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/2.644, allocations: 29.7 kB / 0.9126 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/2.644, allocations: 265.4 kB / 0.9129 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/2.644, allocations: 207.1 kB / 0.9131 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/2.644, allocations: 105.2 kB / 0.9132 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000132/2.644, allocations: 358.8 kB / 0.9135 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/2.644, allocations: 141 kB / 0.9136 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/2.645, allocations: 268.3 kB / 0.9139 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/2.645, allocations: 454.4 kB / 0.9143 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/2.645, allocations: 9.031 kB / 0.9143 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008938/2.646, allocations: 0.5626 MB / 0.9149 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/2.646, allocations: 4 kB / 0.9149 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/2.646, allocations: 8 kB / 0.9149 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/2.647, allocations: 212.6 kB / 0.9151 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/2.647, allocations: 31.92 kB / 0.9151 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007302/2.648, allocations: 0.7301 MB / 0.9158 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/2.648, allocations: 63.28 kB / 0.9159 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/2.648, allocations: 20 kB / 0.9159 GB, free: 11.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 14 (perteDP.C2.b,perteDP.C1.a,sourceP.C.b,puitsP.C.a,temperatureSensor.C2.b,temperatureSensor.C1.a,pressureSensor.C2.b,pressureSensor.C1.a,volumetricFlowSensor.C2.b,volumetricFlowSensor.C1.a,massFlowSensor.C2.b,massFlowSensor.C1.a,specificEnthalpySensor.C2.b,specificEnthalpySensor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001872/2.648, allocations: 167.3 kB / 0.9161 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/2.649, allocations: 44.64 kB / 0.9161 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/2.65, allocations: 1.126 MB / 0.9172 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006114/2.65, allocations: 461.5 kB / 0.9177 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/2.65, allocations: 0 / 0.9177 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/2.65, allocations: 3.984 kB / 0.9177 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/2.652, allocations: 1.338 MB / 0.919 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/2.652, allocations: 0 / 0.919 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/2.653, allocations: 47.92 kB / 0.919 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/2.653, allocations: 205.5 kB / 0.9192 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/2.653, allocations: 4 kB / 0.9192 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/2.654, allocations: 0.745 MB / 0.92 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/2.654, allocations: 1.203 kB / 0.92 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/2.656, allocations: 1.482 MB / 0.9214 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/2.656, allocations: 152.3 kB / 0.9215 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/2.656, allocations: 12.19 kB / 0.9216 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/2.656, allocations: 19.91 kB / 0.9216 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/2.656, allocations: 23.97 kB / 0.9216 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/2.656, allocations: 4 kB / 0.9216 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003605/2.657, allocations: 339.1 kB / 0.9219 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/2.657, allocations: 0 / 0.9219 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003994/2.661, allocations: 1.6 MB / 0.9235 GB, free: 3.605 MB / 0.7605 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 (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007805/2.668, allocations: 2.342 MB / 0.9258 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001072/2.67, allocations: 0.5263 MB / 0.9263 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/2.67, allocations: 0.9375 kB / 0.9263 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005125/2.67, allocations: 238.5 kB / 0.9265 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/2.671, allocations: 215.2 kB / 0.9267 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/2.673, allocations: 1.6 MB / 0.9283 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/2.674, allocations: 0.9025 MB / 0.9292 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002336/2.674, allocations: 51.39 kB / 0.9292 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/2.674, allocations: 40.62 kB / 0.9293 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/2.674, allocations: 0 / 0.9293 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.2292/2.903, allocations: 52.1 MB / 0.9801 GB, free: 433.6 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe 2>&1)