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.7846/0.7846, allocations: 153.8 MB / 173.5 MB, free: 4.953 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.0004614/0.0004614, allocations: 11.97 kB / 250.6 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 33.36 MB / 284 MB, free: 1.816 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.694/1.841, allocations: 307.3 MB / 0.5774 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0326/1.873, allocations: 34.95 MB / 0.6116 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/1.874, allocations: 7.438 kB / 0.6116 GB, free: 14.05 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.0004308/1.874, allocations: 132.3 kB / 0.6117 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/1.874, allocations: 112.8 kB / 0.6118 GB, free: 13.91 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.02597/1.9, allocations: 9.895 MB / 0.6215 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006229/1.901, allocations: 356.3 kB / 0.6218 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/1.901, allocations: 94.69 kB / 0.6219 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/1.902, allocations: 159.3 kB / 0.6221 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/1.902, allocations: 123.3 kB / 0.6222 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.902, allocations: 20 kB / 0.6222 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03255/1.934, allocations: 17.99 MB / 0.6398 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/1.934, allocations: 47.8 kB / 0.6398 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/1.935, allocations: 143.3 kB / 0.6399 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01835/1.953, allocations: 8.49 MB / 0.6482 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.953, allocations: 0 / 0.6482 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/1.953, allocations: 0 / 0.6482 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.953, allocations: 4 kB / 0.6482 GB, free: 12.7 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.003923/1.957, allocations: 1.442 MB / 0.6496 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.957, allocations: 8.031 kB / 0.6496 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/1.957, allocations: 8.438 kB / 0.6497 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/1.957, allocations: 67.47 kB / 0.6497 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/1.957, allocations: 27.81 kB / 0.6497 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/1.957, allocations: 177.6 kB / 0.6499 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/1.957, allocations: 17.75 kB / 0.6499 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/1.957, allocations: 20 kB / 0.65 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/1.958, allocations: 321 kB / 0.6503 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.958, allocations: 0 / 0.6503 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/1.958, allocations: 8 kB / 0.6503 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.958, allocations: 15.98 kB / 0.6503 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/1.958, allocations: 178.1 kB / 0.6505 GB, free: 10.33 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.0349/1.993, allocations: 11.29 MB / 0.6615 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/1.994, allocations: 123.1 kB / 0.6616 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/1.994, allocations: 68.84 kB / 0.6617 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1463/2.14, allocations: 43.46 MB / 0.7041 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/2.14, allocations: 38.5 kB / 0.7041 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/2.14, allocations: 0 / 0.7041 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009376/2.141, allocations: 340.4 kB / 0.7045 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/2.141, allocations: 81.11 kB / 0.7045 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/2.141, allocations: 224.9 kB / 0.7048 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/2.141, allocations: 26.36 kB / 0.7048 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/2.141, allocations: 156.7 kB / 0.7049 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.141, allocations: 118.9 kB / 0.705 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/2.142, allocations: 53.66 kB / 0.7051 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001545/2.142, allocations: 334.8 kB / 0.7054 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/2.142, allocations: 83.97 kB / 0.7055 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/2.142, allocations: 135 kB / 0.7056 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/2.142, allocations: 231.3 kB / 0.7058 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.142, allocations: 0 / 0.7058 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004978/2.143, allocations: 310.1 kB / 0.7061 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/2.143, allocations: 5.406 kB / 0.7061 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/2.143, allocations: 0 / 0.7061 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/2.144, allocations: 138.4 kB / 0.7063 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/2.144, allocations: 19.92 kB / 0.7063 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/2.144, allocations: 0.6031 MB / 0.7069 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/2.145, allocations: 36.5 kB / 0.7069 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/2.145, allocations: 12.69 kB / 0.7069 GB, free: 148 kB / 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.0001425/2.145, allocations: 137.8 kB / 0.7071 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/2.145, allocations: 27.75 kB / 0.7071 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009603/2.146, allocations: 0.5977 MB / 0.7077 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005365/2.146, allocations: 231.4 kB / 0.7079 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.146, allocations: 0 / 0.7079 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/2.146, allocations: 0 / 0.7079 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/2.148, allocations: 0.7025 MB / 0.7086 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.148, allocations: 0 / 0.7086 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/2.148, allocations: 27.94 kB / 0.7086 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/2.148, allocations: 106.5 kB / 0.7087 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/2.148, allocations: 0.75 kB / 0.7087 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000559/2.149, allocations: 0.6422 MB / 0.7093 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.149, allocations: 4.062 kB / 0.7093 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/2.149, allocations: 351.1 kB / 0.7097 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/2.149, allocations: 35.78 kB / 0.7097 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/2.149, allocations: 8.453 kB / 0.7097 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/2.149, allocations: 5.781 kB / 0.7097 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/2.149, allocations: 19.91 kB / 0.7097 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/2.149, allocations: 4 kB / 0.7097 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002587/2.15, allocations: 235.1 kB / 0.71 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.15, allocations: 0 / 0.71 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003114/2.153, allocations: 1.235 MB / 0.7112 GB, free: 11.61 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.006517/2.159, allocations: 2.555 MB / 0.7137 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005698/2.16, allocations: 222.5 kB / 0.7139 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.16, allocations: 0 / 0.7139 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/2.16, allocations: 93.34 kB / 0.714 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/2.161, allocations: 132.9 kB / 0.7141 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/2.166, allocations: 3.108 MB / 0.7171 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/2.166, allocations: 0.7675 MB / 0.7179 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001277/2.166, allocations: 26.34 kB / 0.7179 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/2.167, allocations: 91.41 kB / 0.718 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/2.167, allocations: 0 / 0.718 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08917/2.256, allocations: 48.7 MB / 0.7656 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/16.78, allocations: 10.34 kB / 0.7656 GB, free: 4.445 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: 19.03379801393021] Failed to read output from testmodel.py, exit status != 0: 17.369870349997655 17.380432358 15.425205965 Calling exit ...