Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8214/0.8214, allocations: 150.9 MB / 166.7 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 15.98 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 31.32 MB / 236.1 MB, free: 5.453 MB / 190.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.Examples.SimpleExamples.TestDiaphragm): time 1.663/1.866, allocations: 293.6 MB / 0.5173 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04429/1.91, allocations: 34.88 MB / 0.5514 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/1.911, allocations: 0 / 0.5514 GB, free: 10.94 MB / 446.1 MB [/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/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/PressureLosses/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35: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.000483/1.911, allocations: 100.4 kB / 0.5515 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/1.912, allocations: 75.38 kB / 0.5515 GB, free: 10.77 MB / 446.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.027/1.939, allocations: 8.454 MB / 0.5598 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005536/1.939, allocations: 354.8 kB / 0.5601 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/1.939, allocations: 116.1 kB / 0.5602 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/1.94, allocations: 151.3 kB / 0.5604 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/1.94, allocations: 115.4 kB / 0.5605 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/1.94, allocations: 16 kB / 0.5605 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03/1.97, allocations: 17.83 MB / 0.5779 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/1.97, allocations: 47.84 kB / 0.578 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/1.97, allocations: 135.3 kB / 0.5781 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.981, allocations: 5.731 MB / 0.5837 GB, free: 9.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.981, allocations: 4 kB / 0.5837 GB, free: 9.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/1.981, allocations: 0 / 0.5837 GB, free: 9.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/1.982, allocations: 0 / 0.5837 GB, free: 9.797 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004322/1.986, allocations: 1.47 MB / 0.5851 GB, free: 8.277 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.986, allocations: 12.03 kB / 0.5851 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/1.986, allocations: 31.56 kB / 0.5852 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/1.986, allocations: 222.6 kB / 0.5854 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/1.986, allocations: 20.44 kB / 0.5854 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/1.986, allocations: 16 kB / 0.5854 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/1.987, allocations: 317.1 kB / 0.5857 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.987, allocations: 3.938 kB / 0.5857 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/1.987, allocations: 8 kB / 0.5857 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.987, allocations: 15.98 kB / 0.5858 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/1.987, allocations: 173 kB / 0.5859 GB, free: 7.402 MB / 478.1 MB 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.03372/2.021, allocations: 18.06 MB / 0.6036 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/2.021, allocations: 146.6 kB / 0.6037 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/2.021, allocations: 92.83 kB / 0.6038 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1381/2.16, allocations: 77.46 MB / 0.6794 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/2.16, allocations: 38.55 kB / 0.6795 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/2.16, allocations: 0 / 0.6795 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008828/2.16, allocations: 419.4 kB / 0.6799 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/2.161, allocations: 81.11 kB / 0.6799 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/2.161, allocations: 219.1 kB / 0.6801 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/2.161, allocations: 25.7 kB / 0.6802 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/2.161, allocations: 160.4 kB / 0.6803 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/2.161, allocations: 118.2 kB / 0.6804 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/2.161, allocations: 49.7 kB / 0.6805 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/2.161, allocations: 330.8 kB / 0.6808 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/2.161, allocations: 75.97 kB / 0.6809 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/2.161, allocations: 134 kB / 0.681 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/2.162, allocations: 221.2 kB / 0.6812 GB, free: 11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.162, allocations: 0 / 0.6812 GB, free: 11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004063/2.162, allocations: 309.9 kB / 0.6815 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/2.162, allocations: 11.94 kB / 0.6815 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.162, allocations: 0 / 0.6815 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/2.163, allocations: 148.8 kB / 0.6817 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/2.163, allocations: 16 kB / 0.6817 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004918/2.164, allocations: 0.6069 MB / 0.6823 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/2.164, allocations: 35.55 kB / 0.6823 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/2.164, allocations: 12.06 kB / 0.6823 GB, free: 9.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001212/2.164, allocations: 137.8 kB / 0.6824 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/2.164, allocations: 23.66 kB / 0.6825 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/2.165, allocations: 0.6065 MB / 0.6831 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005161/2.165, allocations: 223.9 kB / 0.6833 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/2.165, allocations: 7.938 kB / 0.6833 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/2.165, allocations: 3.938 kB / 0.6833 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/2.167, allocations: 0.7366 MB / 0.684 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/2.167, allocations: 0 / 0.684 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/2.167, allocations: 27.92 kB / 0.684 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/2.167, allocations: 103 kB / 0.6841 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/2.167, allocations: 8 kB / 0.6841 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004375/2.167, allocations: 0.6342 MB / 0.6848 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/2.167, allocations: 0 / 0.6848 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/2.168, allocations: 345.6 kB / 0.6851 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/2.168, allocations: 108.8 kB / 0.6852 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/2.168, allocations: 19.78 kB / 0.6852 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/2.168, allocations: 4.062 kB / 0.6852 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/2.168, allocations: 17.3 kB / 0.6852 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/2.168, allocations: 0 / 0.6852 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000214/2.169, allocations: 237.9 kB / 0.6855 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.169, allocations: 0 / 0.6855 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003089/2.172, allocations: 1.214 MB / 0.6866 GB, free: 5.195 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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.004744/2.176, allocations: 1.841 MB / 0.6884 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006136/2.177, allocations: 241.4 kB / 0.6887 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.177, allocations: 0 / 0.6887 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/2.177, allocations: 100.2 kB / 0.6888 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/2.178, allocations: 127.2 kB / 0.6889 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/2.179, allocations: 0.6467 MB / 0.6895 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/2.179, allocations: 0.7712 MB / 0.6903 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/2.179, allocations: 23.42 kB / 0.6903 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/2.18, allocations: 0 / 0.6903 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Templates: time 0.1896/2.369, allocations: 25.36 MB / 0.7151 GB, free: 219.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)