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.828/0.828, allocations: 150.9 MB / 167.1 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 19.97 kB / 205.9 MB, free: 9.055 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1485, allocations: 31.33 MB / 237.3 MB, free: 5.723 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.618/1.767, allocations: 294.5 MB / 0.5193 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04046/1.807, allocations: 34.68 MB / 0.5532 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/1.807, allocations: 4 kB / 0.5532 GB, free: 10.71 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.000358/1.808, allocations: 107.4 kB / 0.5533 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/1.808, allocations: 91.23 kB / 0.5534 GB, free: 10.51 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.02556/1.834, allocations: 9.648 MB / 0.5628 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/1.834, allocations: 342.9 kB / 0.5631 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/1.834, allocations: 120.5 kB / 0.5632 GB, free: 416 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/1.835, allocations: 147.3 kB / 0.5634 GB, free: 268 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/1.835, allocations: 123.4 kB / 0.5635 GB, free: 144 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/1.835, allocations: 16 kB / 0.5635 GB, free: 128 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03191/1.867, allocations: 17.96 MB / 0.581 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/1.867, allocations: 47.78 kB / 0.5811 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/1.867, allocations: 151.3 kB / 0.5812 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/1.886, allocations: 8.453 MB / 0.5895 GB, free: 5.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.886, allocations: 4 kB / 0.5895 GB, free: 5.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.886, allocations: 0 / 0.5895 GB, free: 5.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/1.887, allocations: 0 / 0.5895 GB, free: 5.469 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.004028/1.891, allocations: 1.451 MB / 0.5909 GB, free: 3.969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.891, allocations: 12.03 kB / 0.5909 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/1.891, allocations: 35.5 kB / 0.591 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/1.891, allocations: 226.6 kB / 0.5912 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.891, allocations: 24.38 kB / 0.5912 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/1.891, allocations: 24 kB / 0.5912 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/1.891, allocations: 309.1 kB / 0.5915 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.892, allocations: 9.344 kB / 0.5915 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/1.892, allocations: 8 kB / 0.5915 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/1.892, allocations: 15.98 kB / 0.5915 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/1.892, allocations: 173 kB / 0.5917 GB, free: 3.074 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.03807/1.93, allocations: 18.16 MB / 0.6094 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/1.93, allocations: 146.6 kB / 0.6096 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.931, allocations: 88.83 kB / 0.6097 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1526/2.083, allocations: 77.91 MB / 0.6858 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/2.083, allocations: 46.55 kB / 0.6858 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/2.083, allocations: 0 / 0.6858 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009726/2.084, allocations: 419.4 kB / 0.6862 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/2.084, allocations: 77.11 kB / 0.6863 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/2.085, allocations: 223 kB / 0.6865 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/2.085, allocations: 29.7 kB / 0.6865 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/2.085, allocations: 156.4 kB / 0.6867 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/2.085, allocations: 114.3 kB / 0.6868 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/2.085, allocations: 45.7 kB / 0.6868 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/2.085, allocations: 338.8 kB / 0.6871 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/2.085, allocations: 75.91 kB / 0.6872 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/2.085, allocations: 138 kB / 0.6873 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/2.086, allocations: 221.6 kB / 0.6876 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/2.086, allocations: 4.031 kB / 0.6876 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004542/2.086, allocations: 305.9 kB / 0.6879 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/2.086, allocations: 7.938 kB / 0.6879 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.086, allocations: 4 kB / 0.6879 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/2.087, allocations: 142.8 kB / 0.688 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/2.087, allocations: 19.88 kB / 0.688 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/2.088, allocations: 0.6109 MB / 0.6886 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/2.088, allocations: 31.69 kB / 0.6886 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/2.088, allocations: 8 kB / 0.6887 GB, free: 4.949 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.000134/2.088, allocations: 133.8 kB / 0.6888 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/2.088, allocations: 19.72 kB / 0.6888 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/2.089, allocations: 0.6041 MB / 0.6894 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005443/2.09, allocations: 231.5 kB / 0.6896 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/2.09, allocations: 4.453 kB / 0.6896 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/2.09, allocations: 0 / 0.6896 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/2.091, allocations: 0.732 MB / 0.6903 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/2.091, allocations: 4 kB / 0.6903 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/2.091, allocations: 25.19 kB / 0.6904 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/2.091, allocations: 109.8 kB / 0.6905 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/2.091, allocations: 4 kB / 0.6905 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/2.092, allocations: 0.6383 MB / 0.6911 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/2.092, allocations: 4.031 kB / 0.6911 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/2.092, allocations: 343.8 kB / 0.6914 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/2.093, allocations: 104.9 kB / 0.6915 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/2.093, allocations: 19.78 kB / 0.6915 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/2.093, allocations: 8.062 kB / 0.6915 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/2.093, allocations: 15.98 kB / 0.6916 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/2.093, allocations: 0 / 0.6916 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002468/2.093, allocations: 241.9 kB / 0.6918 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.093, allocations: 0 / 0.6918 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003143/2.096, allocations: 1.21 MB / 0.693 GB, free: 320 kB / 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.1558/2.252, allocations: 1.758 MB / 0.6947 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006686/2.253, allocations: 259.9 kB / 0.6949 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/2.253, allocations: 0.5 kB / 0.6949 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/2.253, allocations: 100.2 kB / 0.695 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/2.254, allocations: 123 kB / 0.6952 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/2.255, allocations: 0.5022 MB / 0.6956 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/2.255, allocations: 0.7676 MB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001093/2.255, allocations: 23.84 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/2.255, allocations: 25.89 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/2.255, allocations: 3.75 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04845/2.303, allocations: 42.84 MB / 0.7383 GB, free: 204.9 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)