Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.5976/0.5976, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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.Fluid.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 0 / 216.7 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.955e-05, allocations: 2.281 kB / 216.7 MB, free: 8.629 MB / 202.7 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.142/1.142, allocations: 254.3 MB / 471.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.5512/1.693, allocations: 167.1 MB / 0.6232 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/1.694, allocations: 7.938 kB / 0.6232 GB, free: 8.812 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001521/1.694, allocations: 47.53 kB / 0.6233 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/1.694, allocations: 122.9 kB / 0.6234 GB, free: 8.645 MB / 0.5573 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02879/1.723, allocations: 12.39 MB / 0.6355 GB, free: 12.25 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000633/1.724, allocations: 418.6 kB / 0.6359 GB, free: 11.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/1.724, allocations: 177 kB / 0.6361 GB, free: 11.68 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/1.724, allocations: 259.4 kB / 0.6363 GB, free: 11.42 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/1.724, allocations: 127.6 kB / 0.6364 GB, free: 11.3 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/1.724, allocations: 32 kB / 0.6365 GB, free: 11.27 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02879/1.753, allocations: 19.66 MB / 0.6557 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/1.753, allocations: 91.67 kB / 0.6558 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/1.754, allocations: 131.7 kB / 0.6559 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02912/1.783, allocations: 13.04 MB / 0.6686 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.783, allocations: 0 / 0.6686 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/1.783, allocations: 0 / 0.6686 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.783, allocations: 0 / 0.6686 GB, free: 10.29 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005138/1.788, allocations: 1.903 MB / 0.6705 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.788, allocations: 8.031 kB / 0.6705 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/1.788, allocations: 71.19 kB / 0.6705 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/1.788, allocations: 48.22 kB / 0.6706 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/1.788, allocations: 255.9 kB / 0.6708 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/1.788, allocations: 29 kB / 0.6709 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/1.788, allocations: 39.94 kB / 0.6709 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/1.789, allocations: 404.3 kB / 0.6713 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.789, allocations: 1.062 kB / 0.6713 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/1.789, allocations: 16.66 kB / 0.6713 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/1.789, allocations: 8 kB / 0.6713 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/1.789, allocations: 246.4 kB / 0.6715 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/1.794, allocations: 3.265 MB / 0.6747 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/1.794, allocations: 74.53 kB / 0.6748 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/1.794, allocations: 28.89 kB / 0.6748 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4024/2.196, allocations: 88.69 MB / 0.7614 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/2.197, allocations: 40 kB / 0.7615 GB, free: 291.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 3.757e-06/2.197, allocations: 0 / 0.7615 GB, free: 291.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0007354/2.197, allocations: 177.1 kB / 0.7616 GB, free: 291.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/2.197, allocations: 82.28 kB / 0.7617 GB, free: 291.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/2.198, allocations: 348 kB / 0.7621 GB, free: 291 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/2.198, allocations: 25.7 kB / 0.7621 GB, free: 291 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/2.198, allocations: 246.6 kB / 0.7623 GB, free: 290.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/2.198, allocations: 30.94 kB / 0.7623 GB, free: 290.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/2.198, allocations: 70.48 kB / 0.7624 GB, free: 290.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/2.198, allocations: 334.6 kB / 0.7627 GB, free: 290.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/2.198, allocations: 44.45 kB / 0.7628 GB, free: 290.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/2.198, allocations: 184.6 kB / 0.7629 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/2.198, allocations: 205.7 kB / 0.7631 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/2.198, allocations: 4 kB / 0.7631 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003642/2.199, allocations: 278.6 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/2.199, allocations: 9.531 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.199, allocations: 7.984 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/2.199, allocations: 106.3 kB / 0.7635 GB, free: 289.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/2.199, allocations: 39.92 kB / 0.7636 GB, free: 289.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003274/2.2, allocations: 0.5718 MB / 0.7641 GB, free: 288.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/2.2, allocations: 35.77 kB / 0.7642 GB, free: 288.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/2.2, allocations: 12.06 kB / 0.7642 GB, free: 288.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001633/2.2, allocations: 161.9 kB / 0.7643 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/2.2, allocations: 33.38 kB / 0.7644 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/2.2, allocations: 179.8 kB / 0.7645 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/2.2, allocations: 0 / 0.7645 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/2.2, allocations: 0 / 0.7645 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.2, allocations: 0 / 0.7645 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/2.201, allocations: 276.4 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.201, allocations: 4.5 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/2.201, allocations: 10 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/2.201, allocations: 86.62 kB / 0.7649 GB, free: 288 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/2.201, allocations: 4 kB / 0.7649 GB, free: 288 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002376/2.201, allocations: 0.5602 MB / 0.7654 GB, free: 287.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.201, allocations: 0 / 0.7654 GB, free: 287.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/2.201, allocations: 172.2 kB / 0.7656 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/2.202, allocations: 59.83 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/2.202, allocations: 7.219 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/2.202, allocations: 4.75 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/2.202, allocations: 5.312 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/2.202, allocations: 7.938 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001592/2.202, allocations: 251.2 kB / 0.7659 GB, free: 286.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9e-08/2.202, allocations: 0.7656 kB / 0.7659 GB, free: 286.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004257/2.206, allocations: 1.627 MB / 0.7675 GB, free: 285.6 MB / 0.6667 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 (4): * Single equations (assignments): 3 * 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.007961/2.214, allocations: 3.316 MB / 0.7708 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004801/2.214, allocations: 121.1 kB / 0.7709 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.214, allocations: 0.7656 kB / 0.7709 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/2.215, allocations: 44.84 kB / 0.7709 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/2.215, allocations: 77.94 kB / 0.771 GB, free: 282.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/2.22, allocations: 3.189 MB / 0.7741 GB, free: 279.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/2.22, allocations: 173.7 kB / 0.7743 GB, free: 279 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001386/2.22, allocations: 38.28 kB / 0.7743 GB, free: 278.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/2.22, allocations: 100.5 kB / 0.7744 GB, free: 278.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.375e-06/2.22, allocations: 4 kB / 0.7744 GB, free: 278.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/2.3, allocations: 55.79 MB / 0.8289 GB, free: 223.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/11.43, allocations: 4.875 kB / 0.8289 GB, free: 223.4 MB / 0.6667 GB " [Timeout remaining time 648] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.034466203302145] Failed to read output from testmodel.py, exit status != 0: 11.823084089905024 11.69260608 9.907737196 Calling exit ...