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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7887/0.7887, allocations: 152.6 MB / 170.7 MB, free: 6.297 MB / 142.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00047/0.00047, allocations: 23.97 kB / 247.3 MB, free: 6.379 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1627, allocations: 33.04 MB / 280.3 MB, free: 3.672 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.457/1.619, allocations: 301 MB / 0.5677 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2706/1.89, allocations: 34.8 MB / 0.6017 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/1.89, allocations: 2.375 kB / 0.6017 GB, free: 6.039 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.0003484/1.89, allocations: 132.7 kB / 0.6018 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/1.891, allocations: 114.1 kB / 0.6019 GB, free: 5.898 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.02312/1.914, allocations: 9.859 MB / 0.6115 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/1.914, allocations: 357.3 kB / 0.6119 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/1.914, allocations: 87.81 kB / 0.612 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/1.914, allocations: 154.9 kB / 0.6121 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/1.915, allocations: 118.5 kB / 0.6122 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/1.915, allocations: 19.28 kB / 0.6123 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03323/1.948, allocations: 17.97 MB / 0.6298 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/1.948, allocations: 43.83 kB / 0.6298 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/1.948, allocations: 139.3 kB / 0.63 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02046/1.969, allocations: 8.488 MB / 0.6383 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.969, allocations: 0 / 0.6383 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/1.969, allocations: 0 / 0.6383 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.969, allocations: 0.6562 kB / 0.6383 GB, free: 8.988 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.004055/1.973, allocations: 1.503 MB / 0.6397 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.973, allocations: 12.02 kB / 0.6398 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/1.973, allocations: 28.44 kB / 0.6398 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/1.973, allocations: 245.6 kB / 0.64 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/1.973, allocations: 16.44 kB / 0.64 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/1.973, allocations: 17.78 kB / 0.64 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/1.974, allocations: 315 kB / 0.6403 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.974, allocations: 1.375 kB / 0.6403 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/1.974, allocations: 13.67 kB / 0.6404 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.974, allocations: 19.92 kB / 0.6404 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/1.974, allocations: 174.5 kB / 0.6405 GB, free: 6.551 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.03772/2.012, allocations: 18.17 MB / 0.6583 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/2.012, allocations: 127.2 kB / 0.6584 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/2.012, allocations: 68.83 kB / 0.6585 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1509/2.163, allocations: 77.92 MB / 0.7346 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/2.163, allocations: 38.5 kB / 0.7346 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/2.163, allocations: 7.938 kB / 0.7346 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0009162/2.164, allocations: 411.6 kB / 0.735 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/2.164, allocations: 77.11 kB / 0.7351 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/2.164, allocations: 227.8 kB / 0.7353 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/2.164, allocations: 25.7 kB / 0.7353 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/2.165, allocations: 160.6 kB / 0.7355 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/2.165, allocations: 115 kB / 0.7356 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/2.165, allocations: 54.28 kB / 0.7356 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001486/2.165, allocations: 334.8 kB / 0.7359 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/2.165, allocations: 75.97 kB / 0.736 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/2.165, allocations: 141.2 kB / 0.7362 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/2.165, allocations: 229.6 kB / 0.7364 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/2.165, allocations: 0 / 0.7364 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004512/2.166, allocations: 294.2 kB / 0.7367 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/2.166, allocations: 8 kB / 0.7367 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/2.166, allocations: 1.375 kB / 0.7367 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009439/2.167, allocations: 132.9 kB / 0.7368 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/2.167, allocations: 23.92 kB / 0.7368 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/2.168, allocations: 0.6119 MB / 0.7374 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/2.168, allocations: 35.67 kB / 0.7374 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/2.168, allocations: 9.547 kB / 0.7375 GB, free: 8.508 MB / 0.6075 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.0001447/2.168, allocations: 141.8 kB / 0.7376 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/2.168, allocations: 23.81 kB / 0.7376 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009618/2.169, allocations: 0.5911 MB / 0.7382 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005522/2.169, allocations: 225.6 kB / 0.7384 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.169, allocations: 3.984 kB / 0.7384 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/2.169, allocations: 0 / 0.7384 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/2.171, allocations: 0.7243 MB / 0.7391 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/2.171, allocations: 0 / 0.7391 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/2.171, allocations: 27.92 kB / 0.7391 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/2.171, allocations: 115.5 kB / 0.7393 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/2.171, allocations: 4 kB / 0.7393 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005182/2.172, allocations: 0.6305 MB / 0.7399 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/2.172, allocations: 4.062 kB / 0.7399 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/2.172, allocations: 339.9 kB / 0.7402 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/2.172, allocations: 110.1 kB / 0.7403 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/2.172, allocations: 20.62 kB / 0.7403 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/2.172, allocations: 0 / 0.7403 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/2.172, allocations: 15.98 kB / 0.7403 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/2.172, allocations: 7.938 kB / 0.7403 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002522/2.173, allocations: 237.9 kB / 0.7406 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/2.173, allocations: 0 / 0.7406 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002995/2.176, allocations: 1.228 MB / 0.7418 GB, free: 3.883 MB / 0.6075 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.004466/2.18, allocations: 1.772 MB / 0.7435 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006014/2.181, allocations: 230.4 kB / 0.7437 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/2.181, allocations: 0 / 0.7437 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/2.181, allocations: 91.88 kB / 0.7438 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/2.182, allocations: 126.8 kB / 0.7439 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/2.183, allocations: 0.5443 MB / 0.7445 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/2.183, allocations: 0.7675 MB / 0.7452 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/2.183, allocations: 27.44 kB / 0.7452 GB, free: 316 kB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/2.183, allocations: 0 / 0.7452 GB, free: 316 kB / 0.6075 GB Notification: Performance of Templates: time 0.03647/2.219, allocations: 25.36 MB / 0.77 GB, free: 7.371 MB / 0.6387 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]