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.8343/0.8343, allocations: 153.8 MB / 172.7 MB, free: 4.949 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.000534/0.000534, allocations: 15.98 kB / 249.9 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.191, allocations: 33.36 MB / 283.2 MB, free: 2.016 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.825/2.016, allocations: 307.5 MB / 0.5768 GB, free: 16.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03442/2.05, allocations: 34.95 MB / 0.611 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/2.05, allocations: 1.969 kB / 0.611 GB, free: 14.33 MB / 494.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.0004673/2.051, allocations: 135 kB / 0.6111 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/2.051, allocations: 115.1 kB / 0.6112 GB, free: 14.19 MB / 494.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.0295/2.081, allocations: 9.89 MB / 0.6209 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/2.081, allocations: 354.8 kB / 0.6212 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/2.082, allocations: 96.83 kB / 0.6213 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/2.082, allocations: 159.8 kB / 0.6215 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/2.082, allocations: 111.4 kB / 0.6216 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/2.082, allocations: 16.62 kB / 0.6216 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03862/2.121, allocations: 18.01 MB / 0.6392 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/2.121, allocations: 47.78 kB / 0.6392 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/2.121, allocations: 127.4 kB / 0.6393 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02426/2.145, allocations: 8.501 MB / 0.6476 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/2.145, allocations: 4 kB / 0.6476 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/2.145, allocations: 4 kB / 0.6476 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.653e-05/2.145, allocations: 0 / 0.6476 GB, free: 13.2 MB / 0.5137 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.004901/2.15, allocations: 1.438 MB / 0.649 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/2.15, allocations: 12.03 kB / 0.6491 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/2.15, allocations: 62.53 kB / 0.6491 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/2.151, allocations: 28.75 kB / 0.6491 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/2.151, allocations: 181.6 kB / 0.6493 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/2.151, allocations: 16.44 kB / 0.6493 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/2.151, allocations: 21.31 kB / 0.6494 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/2.151, allocations: 314.1 kB / 0.6497 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.151, allocations: 0 / 0.6497 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/2.151, allocations: 12 kB / 0.6497 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/2.151, allocations: 23.92 kB / 0.6497 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/2.152, allocations: 173.2 kB / 0.6499 GB, free: 10.84 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.03614/2.188, allocations: 11.28 MB / 0.6609 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/2.188, allocations: 134.5 kB / 0.661 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/2.188, allocations: 68.84 kB / 0.6611 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1465/2.335, allocations: 43.45 MB / 0.7035 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/2.335, allocations: 34.56 kB / 0.7035 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/2.335, allocations: 0 / 0.7035 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009673/2.336, allocations: 346.4 kB / 0.7039 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/2.336, allocations: 81.09 kB / 0.7039 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/2.336, allocations: 222 kB / 0.7042 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/2.336, allocations: 29.7 kB / 0.7042 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/2.336, allocations: 156.7 kB / 0.7043 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/2.337, allocations: 115 kB / 0.7044 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/2.337, allocations: 49.66 kB / 0.7045 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001686/2.337, allocations: 338.8 kB / 0.7048 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/2.337, allocations: 83.97 kB / 0.7049 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/2.337, allocations: 130 kB / 0.705 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/2.337, allocations: 237.5 kB / 0.7052 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.337, allocations: 5.688 kB / 0.7052 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004764/2.338, allocations: 298.1 kB / 0.7055 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/2.338, allocations: 4.844 kB / 0.7055 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/2.338, allocations: 4 kB / 0.7055 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/2.339, allocations: 140.8 kB / 0.7057 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/2.339, allocations: 15.94 kB / 0.7057 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000606/2.34, allocations: 0.6109 MB / 0.7063 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/2.34, allocations: 35.69 kB / 0.7063 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/2.34, allocations: 12 kB / 0.7063 GB, free: 0.6484 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.0001535/2.34, allocations: 134.7 kB / 0.7065 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/2.34, allocations: 27.75 kB / 0.7065 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009946/2.341, allocations: 0.597 MB / 0.7071 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005564/2.342, allocations: 226.3 kB / 0.7073 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/2.342, allocations: 1.375 kB / 0.7073 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/2.342, allocations: 0 / 0.7073 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/2.343, allocations: 0.706 MB / 0.708 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/2.343, allocations: 3.938 kB / 0.708 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/2.343, allocations: 16 kB / 0.708 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/2.343, allocations: 104.8 kB / 0.7081 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/2.343, allocations: 8.828 kB / 0.7081 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005677/2.344, allocations: 0.6478 MB / 0.7087 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/2.344, allocations: 0 / 0.7087 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/2.344, allocations: 349.7 kB / 0.7091 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/2.345, allocations: 33.78 kB / 0.7091 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/2.345, allocations: 15.89 kB / 0.7091 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/2.345, allocations: 0 / 0.7091 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/2.345, allocations: 15.91 kB / 0.7091 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/2.345, allocations: 11.94 kB / 0.7091 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002634/2.345, allocations: 236 kB / 0.7094 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.345, allocations: 0 / 0.7094 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003368/2.348, allocations: 1.228 MB / 0.7106 GB, free: 12.12 MB / 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.006344/2.355, allocations: 2.562 MB / 0.7131 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006617/2.355, allocations: 228.3 kB / 0.7133 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.355, allocations: 0 / 0.7133 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/2.356, allocations: 89.98 kB / 0.7134 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/2.356, allocations: 132 kB / 0.7135 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/2.361, allocations: 3.097 MB / 0.7165 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/2.362, allocations: 0.7675 MB / 0.7173 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000129/2.362, allocations: 32.7 kB / 0.7173 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/2.362, allocations: 91.41 kB / 0.7174 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/2.362, allocations: 0 / 0.7174 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/2.463, allocations: 48.67 MB / 0.7649 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.65, allocations: 9.859 kB / 0.7649 GB, free: 4.984 MB / 0.6231 GB " [Timeout remaining time 642] (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: 19.785245490958914] Failed to read output from testmodel.py, exit status != 0: 18.18076457385905 18.192900254 16.044787482 Calling exit ...