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.8699/0.8699, allocations: 153.8 MB / 173.4 MB, free: 4.867 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004984, allocations: 15.95 kB / 250.6 MB, free: 4.359 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 33.35 MB / 283.9 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.863/2.035, allocations: 307.2 MB / 0.5772 GB, free: 17.14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0317/2.067, allocations: 30.71 MB / 0.6072 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/2.067, allocations: 3 kB / 0.6072 GB, free: 2.602 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.0004162/2.068, allocations: 112.4 kB / 0.6074 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/2.068, allocations: 114.7 kB / 0.6075 GB, free: 2.473 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.02661/2.094, allocations: 9.755 MB / 0.617 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/2.095, allocations: 360.9 kB / 0.6173 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/2.095, allocations: 94.25 kB / 0.6174 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/2.096, allocations: 155.3 kB / 0.6176 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/2.096, allocations: 119.4 kB / 0.6177 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/2.096, allocations: 16 kB / 0.6177 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03509/2.131, allocations: 17.73 MB / 0.635 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/2.131, allocations: 47.73 kB / 0.6351 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/2.131, allocations: 111.5 kB / 0.6352 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/2.152, allocations: 8.501 MB / 0.6435 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/2.152, allocations: 0 / 0.6435 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/2.152, allocations: 0 / 0.6435 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.045e-06/2.152, allocations: 0 / 0.6435 GB, free: 1.695 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.00398/2.156, allocations: 1.434 MB / 0.6449 GB, free: 228 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/2.156, allocations: 8.031 kB / 0.6449 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.371e-05/2.156, allocations: 12.44 kB / 0.6449 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/2.156, allocations: 63.28 kB / 0.6449 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/2.156, allocations: 31.81 kB / 0.645 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/2.156, allocations: 177.6 kB / 0.6451 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/2.156, allocations: 18.41 kB / 0.6452 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/2.156, allocations: 16 kB / 0.6452 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/2.157, allocations: 350.8 kB / 0.6455 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/2.157, allocations: 0 / 0.6455 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/2.157, allocations: 8.625 kB / 0.6455 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/2.157, allocations: 15.98 kB / 0.6455 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/2.157, allocations: 177.1 kB / 0.6457 GB, free: 15.29 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.03473/2.192, allocations: 10.93 MB / 0.6564 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/2.192, allocations: 126.6 kB / 0.6565 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/2.193, allocations: 64.84 kB / 0.6566 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1422/2.335, allocations: 43.62 MB / 0.6992 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/2.335, allocations: 39.06 kB / 0.6992 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.464e-06/2.335, allocations: 0 / 0.6992 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001053/2.336, allocations: 344.4 kB / 0.6995 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/2.336, allocations: 89.08 kB / 0.6996 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/2.336, allocations: 219.1 kB / 0.6998 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/2.336, allocations: 25.7 kB / 0.6998 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/2.336, allocations: 152.7 kB / 0.7 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/2.337, allocations: 123.8 kB / 0.7001 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/2.337, allocations: 49.7 kB / 0.7002 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000168/2.337, allocations: 334.8 kB / 0.7005 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/2.337, allocations: 87.97 kB / 0.7006 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/2.337, allocations: 167.5 kB / 0.7007 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/2.337, allocations: 229.6 kB / 0.7009 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.337, allocations: 0 / 0.7009 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005351/2.338, allocations: 302.8 kB / 0.7012 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/2.338, allocations: 8.938 kB / 0.7012 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/2.338, allocations: 0.8594 kB / 0.7012 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/2.339, allocations: 137.4 kB / 0.7014 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/2.339, allocations: 19.97 kB / 0.7014 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/2.34, allocations: 0.6091 MB / 0.702 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/2.34, allocations: 36.88 kB / 0.702 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/2.34, allocations: 8 kB / 0.702 GB, free: 5.348 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.0001541/2.34, allocations: 141.7 kB / 0.7022 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/2.34, allocations: 27.75 kB / 0.7022 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/2.341, allocations: 0.5989 MB / 0.7028 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005834/2.342, allocations: 219 kB / 0.703 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/2.342, allocations: 0 / 0.703 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/2.342, allocations: 0 / 0.703 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/2.343, allocations: 0.6743 MB / 0.7036 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/2.343, allocations: 4 kB / 0.7036 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/2.343, allocations: 17.5 kB / 0.7037 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/2.344, allocations: 112.7 kB / 0.7038 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/2.344, allocations: 0.75 kB / 0.7038 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00059/2.344, allocations: 0.6419 MB / 0.7044 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/2.344, allocations: 0 / 0.7044 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/2.345, allocations: 357.8 kB / 0.7047 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/2.345, allocations: 31.78 kB / 0.7048 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/2.345, allocations: 7.953 kB / 0.7048 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/2.345, allocations: 8 kB / 0.7048 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/2.345, allocations: 11.92 kB / 0.7048 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/2.345, allocations: 8.922 kB / 0.7048 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002761/2.345, allocations: 235.1 kB / 0.705 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.345, allocations: 0 / 0.705 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003539/2.349, allocations: 1.235 MB / 0.7062 GB, free: 0.8633 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.006785/2.356, allocations: 2.556 MB / 0.7087 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007123/2.356, allocations: 232.3 kB / 0.7089 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/2.356, allocations: 0 / 0.7089 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/2.357, allocations: 87.83 kB / 0.709 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/2.358, allocations: 131.4 kB / 0.7092 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/2.363, allocations: 3.107 MB / 0.7122 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/2.363, allocations: 156.9 kB / 0.7123 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001286/2.363, allocations: 28.44 kB / 0.7124 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/2.363, allocations: 95.41 kB / 0.7125 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/2.363, allocations: 3.938 kB / 0.7125 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/2.456, allocations: 48.83 MB / 0.7602 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/17.49, allocations: 17.78 kB / 0.7602 GB, free: 10.24 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.720256229978986] Failed to read output from testmodel.py, exit status != 0: 18.097005477990024 18.108069956 15.953678301 Calling exit ...