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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8747/0.8747, allocations: 153.8 MB / 172.7 MB, free: 4.828 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005992, allocations: 7.984 kB / 250.3 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1638, allocations: 33.36 MB / 283.7 MB, free: 2.031 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm): time 1.892/2.056, allocations: 307.5 MB / 0.5773 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03169/2.088, allocations: 30.74 MB / 0.6074 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/2.088, allocations: 3.5 kB / 0.6074 GB, free: 2.68 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0004176/2.088, allocations: 109.2 kB / 0.6075 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/2.089, allocations: 109 kB / 0.6076 GB, free: 2.559 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02503/2.114, allocations: 9.751 MB / 0.6171 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/2.114, allocations: 358.8 kB / 0.6174 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/2.115, allocations: 98.77 kB / 0.6175 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/2.115, allocations: 160.2 kB / 0.6177 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/2.115, allocations: 107.2 kB / 0.6178 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/2.115, allocations: 20 kB / 0.6178 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03362/2.149, allocations: 16.82 MB / 0.6342 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/2.149, allocations: 51.78 kB / 0.6343 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/2.149, allocations: 103.5 kB / 0.6344 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/2.168, allocations: 8.517 MB / 0.6427 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/2.168, allocations: 0 / 0.6427 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/2.168, allocations: 0 / 0.6427 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.261e-05/2.168, allocations: 4 kB / 0.6427 GB, free: 2.477 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.004156/2.172, allocations: 1.427 MB / 0.6441 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/2.173, allocations: 8.031 kB / 0.6441 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/2.173, allocations: 31.81 kB / 0.6441 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/2.173, allocations: 180.7 kB / 0.6443 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/2.173, allocations: 12.44 kB / 0.6443 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/2.173, allocations: 21.55 kB / 0.6443 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/2.173, allocations: 342.8 kB / 0.6447 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/2.174, allocations: 0 / 0.6447 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/2.174, allocations: 12.69 kB / 0.6447 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/2.174, allocations: 20.69 kB / 0.6447 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/2.174, allocations: 177.1 kB / 0.6449 GB, free: 168 kB / 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.03883/2.213, allocations: 10.86 MB / 0.6555 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/2.213, allocations: 130.5 kB / 0.6556 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/2.213, allocations: 72.84 kB / 0.6557 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.163/2.376, allocations: 43.6 MB / 0.6983 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/2.376, allocations: 39.41 kB / 0.6983 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/2.376, allocations: 0 / 0.6983 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009833/2.377, allocations: 344.4 kB / 0.6986 GB, free: 9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/2.377, allocations: 81.09 kB / 0.6987 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/2.378, allocations: 187 kB / 0.6989 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/2.378, allocations: 29.7 kB / 0.6989 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/2.378, allocations: 164.5 kB / 0.6991 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/2.378, allocations: 118.9 kB / 0.6992 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/2.378, allocations: 53.69 kB / 0.6992 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001735/2.378, allocations: 331.4 kB / 0.6995 GB, free: 8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/2.378, allocations: 87.02 kB / 0.6996 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/2.379, allocations: 159.7 kB / 0.6998 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/2.379, allocations: 233.5 kB / 0.7 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/2.379, allocations: 0 / 0.7 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005316/2.379, allocations: 294.2 kB / 0.7003 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/2.379, allocations: 4 kB / 0.7003 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/2.379, allocations: 5.125 kB / 0.7003 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/2.38, allocations: 136.8 kB / 0.7004 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/2.381, allocations: 12 kB / 0.7004 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/2.381, allocations: 0.6186 MB / 0.701 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/2.381, allocations: 31.72 kB / 0.7011 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/2.381, allocations: 9.641 kB / 0.7011 GB, free: 6.352 MB / 0.5606 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.0001799/2.382, allocations: 133.9 kB / 0.7012 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/2.382, allocations: 19.84 kB / 0.7012 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/2.383, allocations: 0.5987 MB / 0.7018 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005757/2.383, allocations: 222.3 kB / 0.702 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/2.383, allocations: 3.984 kB / 0.702 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/2.383, allocations: 4 kB / 0.702 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/2.385, allocations: 0.6294 MB / 0.7026 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.385, allocations: 0 / 0.7026 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/2.385, allocations: 17.06 kB / 0.7027 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/2.385, allocations: 119.2 kB / 0.7028 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/2.385, allocations: 12.94 kB / 0.7028 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006209/2.386, allocations: 0.6382 MB / 0.7034 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/2.386, allocations: 0 / 0.7034 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/2.386, allocations: 333.8 kB / 0.7037 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/2.386, allocations: 31.83 kB / 0.7038 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/2.386, allocations: 12.73 kB / 0.7038 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/2.387, allocations: 8.062 kB / 0.7038 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/2.387, allocations: 13.28 kB / 0.7038 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/2.387, allocations: 4 kB / 0.7038 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002362/2.387, allocations: 204.5 kB / 0.704 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/2.387, allocations: 3.938 kB / 0.704 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003119/2.39, allocations: 1.247 MB / 0.7052 GB, free: 1.953 MB / 0.5606 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.005728/2.396, allocations: 1.775 MB / 0.7069 GB, free: 208 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006464/2.396, allocations: 226.6 kB / 0.7072 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.396, allocations: 4 kB / 0.7072 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/2.397, allocations: 87.83 kB / 0.7072 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/2.397, allocations: 115.2 kB / 0.7074 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/2.398, allocations: 0.5157 MB / 0.7079 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/2.399, allocations: 175.5 kB / 0.708 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.768e-05/2.399, allocations: 17.12 kB / 0.708 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/2.399, allocations: 23.44 kB / 0.7081 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.399, allocations: 0 / 0.7081 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.06425/2.463, allocations: 42.79 MB / 0.7498 GB, free: 4.723 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.487507626414299] Failed to read output from testmodel.py, exit status != 0: 2.8236316684633493 2.834057409 0.663264988 Calling exit ...