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.7538/0.7538, allocations: 150.9 MB / 167.2 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003175, allocations: 16.05 kB / 237.8 MB, free: 1.684 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04608/0.04641, allocations: 31.35 MB / 269.1 MB, free: 7.055 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.Examples.SimpleExamples.TestDiaphragm): time 1.464/1.511, allocations: 294.7 MB / 0.5506 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0341/1.545, allocations: 34.67 MB / 0.5845 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/1.545, allocations: 0 / 0.5845 GB, free: 10.25 MB / 478.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.0003397/1.545, allocations: 115.3 kB / 0.5846 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/1.545, allocations: 91.17 kB / 0.5847 GB, free: 10.05 MB / 478.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.02139/1.567, allocations: 9.642 MB / 0.5941 GB, free: 400 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/1.567, allocations: 354.9 kB / 0.5944 GB, free: 44 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/1.567, allocations: 116.6 kB / 0.5945 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/1.568, allocations: 147.3 kB / 0.5947 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/1.568, allocations: 111.4 kB / 0.5948 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/1.568, allocations: 20 kB / 0.5948 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02745/1.595, allocations: 17.97 MB / 0.6123 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/1.595, allocations: 43.84 kB / 0.6124 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/1.596, allocations: 139.3 kB / 0.6125 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.609, allocations: 8.468 MB / 0.6208 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.61, allocations: 0 / 0.6208 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.61, allocations: 0 / 0.6208 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.61, allocations: 0 / 0.6208 GB, free: 4.996 MB / 0.4981 GB 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.003373/1.613, allocations: 1.455 MB / 0.6222 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.613, allocations: 8.031 kB / 0.6222 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/1.613, allocations: 27.62 kB / 0.6222 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/1.613, allocations: 235.8 kB / 0.6225 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.613, allocations: 16.44 kB / 0.6225 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/1.613, allocations: 20 kB / 0.6225 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/1.614, allocations: 313.1 kB / 0.6228 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.614, allocations: 7.938 kB / 0.6228 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.614, allocations: 4 kB / 0.6228 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/1.614, allocations: 19.92 kB / 0.6228 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/1.614, allocations: 173 kB / 0.623 GB, free: 2.613 MB / 0.4981 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.03532/1.649, allocations: 18.16 MB / 0.6407 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/1.65, allocations: 154.5 kB / 0.6409 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.65, allocations: 88.83 kB / 0.641 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3013/1.951, allocations: 77.91 MB / 0.717 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/1.951, allocations: 38.34 kB / 0.7171 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/1.951, allocations: 1.969 kB / 0.7171 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0007642/1.952, allocations: 420.2 kB / 0.7175 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.952, allocations: 85.2 kB / 0.7176 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/1.952, allocations: 224.5 kB / 0.7178 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/1.952, allocations: 29.7 kB / 0.7178 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/1.952, allocations: 151.3 kB / 0.718 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/1.952, allocations: 111.5 kB / 0.7181 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/1.952, allocations: 53.2 kB / 0.7181 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.943e-05/1.953, allocations: 335.8 kB / 0.7184 GB, free: 211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.953, allocations: 74.36 kB / 0.7185 GB, free: 211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/1.953, allocations: 131.4 kB / 0.7186 GB, free: 211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.953, allocations: 224.7 kB / 0.7188 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.953, allocations: 1.281 kB / 0.7188 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003961/1.953, allocations: 311.1 kB / 0.7191 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.953, allocations: 4.562 kB / 0.7191 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.953, allocations: 2.094 kB / 0.7191 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/1.954, allocations: 142.5 kB / 0.7193 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/1.954, allocations: 16.66 kB / 0.7193 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/1.955, allocations: 0.6123 MB / 0.7199 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.955, allocations: 39.5 kB / 0.7199 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.955, allocations: 4.969 kB / 0.7199 GB, free: 210.3 MB / 0.5919 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 9.052e-05/1.955, allocations: 135.2 kB / 0.7201 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.955, allocations: 19.75 kB / 0.7201 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/1.956, allocations: 0.6171 MB / 0.7207 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004556/1.956, allocations: 224 kB / 0.7209 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.956, allocations: 2.156 kB / 0.7209 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.956, allocations: 0 / 0.7209 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/1.957, allocations: 0.7341 MB / 0.7216 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.957, allocations: 7.281 kB / 0.7216 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/1.957, allocations: 17.27 kB / 0.7216 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/1.958, allocations: 111 kB / 0.7217 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.958, allocations: 6.656 kB / 0.7218 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/1.958, allocations: 0.6382 MB / 0.7224 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.958, allocations: 1 kB / 0.7224 GB, free: 209 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/1.958, allocations: 345.2 kB / 0.7227 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/1.958, allocations: 107.6 kB / 0.7228 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.959, allocations: 11.72 kB / 0.7228 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.959, allocations: 13.44 kB / 0.7228 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/1.959, allocations: 6.906 kB / 0.7228 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/1.959, allocations: 6.844 kB / 0.7228 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001666/1.959, allocations: 239 kB / 0.7231 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.959, allocations: 0 / 0.7231 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002333/1.961, allocations: 1.209 MB / 0.7243 GB, free: 208.6 MB / 0.5919 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.003793/1.965, allocations: 1.781 MB / 0.726 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005087/1.966, allocations: 252.5 kB / 0.7262 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.966, allocations: 0 / 0.7262 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.966, allocations: 92.52 kB / 0.7263 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/1.966, allocations: 131.6 kB / 0.7264 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/1.967, allocations: 0.537 MB / 0.727 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/1.967, allocations: 0.7645 MB / 0.7277 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/1.967, allocations: 25.38 kB / 0.7277 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/1.967, allocations: 0 / 0.7277 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.02561/1.993, allocations: 25.33 MB / 0.7525 GB, free: 195.8 MB / 0.5919 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)