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.8779/0.8779, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004001, allocations: 17.2 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07414, allocations: 31.35 MB / 269.1 MB, free: 7.059 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.818/1.893, allocations: 294.8 MB / 0.5507 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5656/2.458, allocations: 190.1 MB / 0.7363 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/2.459, allocations: 8.594 kB / 0.7364 GB, free: 1.809 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.000134/2.459, allocations: 41.11 kB / 0.7364 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/2.459, allocations: 117.8 kB / 0.7365 GB, free: 1.809 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.04057/2.5, allocations: 12.34 MB / 0.7486 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005183/2.5, allocations: 397.4 kB / 0.7489 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/2.5, allocations: 209.6 kB / 0.7491 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/2.501, allocations: 164.2 kB / 0.7493 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/2.501, allocations: 170 kB / 0.7495 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/2.501, allocations: 37 kB / 0.7495 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03664/2.538, allocations: 21.01 MB / 0.77 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/2.538, allocations: 77.84 kB / 0.7701 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/2.538, allocations: 186.2 kB / 0.7703 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02885/2.567, allocations: 10.42 MB / 0.7804 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/2.567, allocations: 0 / 0.7804 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.953e-06/2.567, allocations: 0.875 kB / 0.7804 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.402e-05/2.567, allocations: 0 / 0.7804 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.005154/2.572, allocations: 1.867 MB / 0.7823 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.572, allocations: 9.031 kB / 0.7823 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/2.572, allocations: 43.09 kB / 0.7823 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/2.573, allocations: 304.2 kB / 0.7826 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/2.573, allocations: 31.72 kB / 0.7826 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/2.573, allocations: 39.69 kB / 0.7827 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/2.573, allocations: 380.8 kB / 0.783 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/2.573, allocations: 0 / 0.783 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/2.573, allocations: 15.38 kB / 0.783 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/2.573, allocations: 9 kB / 0.783 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/2.574, allocations: 247.8 kB / 0.7833 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008803/2.583, allocations: 6.159 MB / 0.7893 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/2.583, allocations: 79.47 kB / 0.7894 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/2.583, allocations: 30.14 kB / 0.7894 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3249/2.908, allocations: 155.6 MB / 0.9414 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/2.908, allocations: 30.56 kB / 0.9414 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.988e-06/2.908, allocations: 0 / 0.9414 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008506/2.909, allocations: 251.6 kB / 0.9417 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/2.909, allocations: 77.11 kB / 0.9417 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/2.909, allocations: 286.9 kB / 0.942 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/2.909, allocations: 25.7 kB / 0.942 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/2.909, allocations: 240.8 kB / 0.9423 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/2.91, allocations: 27.64 kB / 0.9423 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/2.91, allocations: 60.94 kB / 0.9424 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/2.91, allocations: 334.8 kB / 0.9427 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/2.91, allocations: 57.25 kB / 0.9427 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/2.91, allocations: 149.4 kB / 0.9429 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/2.91, allocations: 216 kB / 0.9431 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/2.91, allocations: 4 kB / 0.9431 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000518/2.911, allocations: 270.7 kB / 0.9433 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/2.911, allocations: 6.188 kB / 0.9433 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.911, allocations: 4 kB / 0.9434 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/2.912, allocations: 117.4 kB / 0.9435 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/2.912, allocations: 39.17 kB / 0.9435 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/2.912, allocations: 0.5701 MB / 0.9441 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/2.913, allocations: 35.59 kB / 0.9441 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/2.913, allocations: 12 kB / 0.9441 GB, free: 10.97 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.0001494/2.913, allocations: 157.1 kB / 0.9443 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/2.913, allocations: 23.72 kB / 0.9443 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/2.914, allocations: 170.3 kB / 0.9444 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.914, allocations: 0 / 0.9444 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.914, allocations: 7.188 kB / 0.9444 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/2.914, allocations: 104.8 kB / 0.9445 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/2.914, allocations: 0 / 0.9445 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/2.914, allocations: 0 / 0.9445 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/2.914, allocations: 14.61 kB / 0.9446 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003427/2.914, allocations: 188.3 kB / 0.9447 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002911/2.914, allocations: 320.6 kB / 0.945 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.829e-05/2.915, allocations: 20.03 kB / 0.9451 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002114/2.915, allocations: 198 kB / 0.9453 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of Backend: time 3.81e-07/2.915, allocations: 0 / 0.9453 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0158/2.931, allocations: 3.842 MB / 0.949 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of SimCode: time 0.001475/2.932, allocations: 0.9978 MB / 0.95 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of Templates: time 0.3419/3.274, allocations: 75.54 MB / 1.024 GB, free: 462.1 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)