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.809/0.809, allocations: 153.8 MB / 172.7 MB, free: 4.859 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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005467, allocations: 11.98 kB / 249.8 MB, free: 4.363 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 33.36 MB / 283.2 MB, free: 1.723 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.808/1.982, allocations: 307.5 MB / 0.5769 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03271/2.014, allocations: 30.74 MB / 0.6069 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/2.015, allocations: 1.094 kB / 0.6069 GB, free: 2.547 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.0004005/2.015, allocations: 113.6 kB / 0.607 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/2.015, allocations: 109.7 kB / 0.6071 GB, free: 2.422 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.02517/2.04, allocations: 9.759 MB / 0.6166 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/2.041, allocations: 358.8 kB / 0.617 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/2.041, allocations: 89.47 kB / 0.6171 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/2.042, allocations: 161.5 kB / 0.6172 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/2.042, allocations: 99.44 kB / 0.6173 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/2.042, allocations: 20.75 kB / 0.6173 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03378/2.076, allocations: 16.83 MB / 0.6338 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/2.076, allocations: 43.8 kB / 0.6338 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/2.076, allocations: 108.2 kB / 0.6339 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02009/2.096, allocations: 8.509 MB / 0.6422 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/2.096, allocations: 0 / 0.6422 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/2.096, allocations: 0 / 0.6422 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.74e-05/2.096, allocations: 4 kB / 0.6422 GB, free: 2.184 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.004019/2.1, allocations: 1.423 MB / 0.6436 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/2.1, allocations: 12.03 kB / 0.6436 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/2.1, allocations: 62.53 kB / 0.6437 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/2.1, allocations: 32.75 kB / 0.6437 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/2.1, allocations: 184.7 kB / 0.6439 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/2.1, allocations: 17.75 kB / 0.6439 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/2.1, allocations: 16 kB / 0.6439 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/2.101, allocations: 350.8 kB / 0.6443 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/2.101, allocations: 0 / 0.6443 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/2.101, allocations: 8 kB / 0.6443 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/2.101, allocations: 13.41 kB / 0.6443 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/2.101, allocations: 181.1 kB / 0.6444 GB, free: 15.79 MB / 0.5137 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/2.137, allocations: 10.92 MB / 0.6551 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/2.137, allocations: 126.5 kB / 0.6552 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/2.137, allocations: 72.83 kB / 0.6553 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1485/2.286, allocations: 43.62 MB / 0.6979 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/2.286, allocations: 30.56 kB / 0.6979 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/2.286, allocations: 0 / 0.6979 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009153/2.287, allocations: 349.9 kB / 0.6983 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/2.287, allocations: 81.11 kB / 0.6983 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/2.287, allocations: 219.1 kB / 0.6986 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/2.287, allocations: 25.7 kB / 0.6986 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/2.287, allocations: 164.6 kB / 0.6987 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/2.287, allocations: 111 kB / 0.6988 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/2.287, allocations: 53.69 kB / 0.6989 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001468/2.287, allocations: 338.8 kB / 0.6992 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/2.287, allocations: 75.97 kB / 0.6993 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/2.288, allocations: 163.6 kB / 0.6994 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/2.288, allocations: 234.5 kB / 0.6997 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/2.288, allocations: 4 kB / 0.6997 GB, free: 7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004807/2.288, allocations: 308.1 kB / 0.7 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/2.288, allocations: 5.719 kB / 0.7 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/2.288, allocations: 4 kB / 0.7 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009166/2.289, allocations: 141.5 kB / 0.7001 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/2.289, allocations: 12 kB / 0.7001 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005708/2.29, allocations: 0.6154 MB / 0.7007 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/2.29, allocations: 35.67 kB / 0.7008 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/2.29, allocations: 4.75 kB / 0.7008 GB, free: 5.852 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.0001419/2.29, allocations: 134.8 kB / 0.7009 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/2.29, allocations: 27.8 kB / 0.7009 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/2.291, allocations: 0.6038 MB / 0.7015 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005181/2.292, allocations: 223.1 kB / 0.7017 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.292, allocations: 0 / 0.7017 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/2.292, allocations: 0 / 0.7017 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/2.293, allocations: 0.6704 MB / 0.7024 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/2.293, allocations: 3.938 kB / 0.7024 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/2.293, allocations: 17.2 kB / 0.7024 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/2.293, allocations: 115.2 kB / 0.7025 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/2.293, allocations: 4 kB / 0.7025 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005433/2.294, allocations: 0.646 MB / 0.7031 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.294, allocations: 3.969 kB / 0.7031 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/2.295, allocations: 349.8 kB / 0.7035 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/2.295, allocations: 29.56 kB / 0.7035 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/2.295, allocations: 15.89 kB / 0.7035 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/2.295, allocations: 0 / 0.7035 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/2.295, allocations: 17.53 kB / 0.7035 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/2.295, allocations: 7.938 kB / 0.7035 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002595/2.295, allocations: 235.1 kB / 0.7038 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.295, allocations: 4.062 kB / 0.7038 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003017/2.298, allocations: 1.239 MB / 0.705 GB, free: 1.355 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.006532/2.305, allocations: 2.547 MB / 0.7075 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000667/2.305, allocations: 241.4 kB / 0.7077 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.305, allocations: 0 / 0.7077 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/2.306, allocations: 81.23 kB / 0.7078 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/2.306, allocations: 132.1 kB / 0.7079 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/2.311, allocations: 3.095 MB / 0.7109 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/2.312, allocations: 160.8 kB / 0.7111 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001282/2.312, allocations: 26.03 kB / 0.7111 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/2.312, allocations: 95.41 kB / 0.7112 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/2.312, allocations: 0 / 0.7112 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09648/2.408, allocations: 49.13 MB / 0.7592 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/16.67, allocations: 10.25 kB / 0.7592 GB, free: 10.43 MB / 0.6231 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.62611861107871] Failed to read output from testmodel.py, exit status != 0: 17.168940456118435 17.179014059 15.080639224 Calling exit ...