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.557/0.557, allocations: 120.4 MB / 139.5 MB, free: 12.98 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 2.936e-06/2.936e-06, allocations: 0 / 216.7 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.553e-05, allocations: 5 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.106/1.106, allocations: 254.3 MB / 471.1 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.5387/1.645, allocations: 167.1 MB / 0.6232 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/1.645, allocations: 7.938 kB / 0.6232 GB, free: 8.852 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.000153/1.645, allocations: 43.58 kB / 0.6233 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/1.646, allocations: 130.8 kB / 0.6234 GB, free: 8.68 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.02827/1.674, allocations: 12.38 MB / 0.6355 GB, free: 12.29 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006108/1.675, allocations: 414.6 kB / 0.6359 GB, free: 11.89 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/1.675, allocations: 180.9 kB / 0.636 GB, free: 11.71 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/1.675, allocations: 267.4 kB / 0.6363 GB, free: 11.45 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/1.675, allocations: 123.6 kB / 0.6364 GB, free: 11.33 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/1.675, allocations: 36 kB / 0.6365 GB, free: 11.3 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02982/1.705, allocations: 19.65 MB / 0.6556 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/1.705, allocations: 91.66 kB / 0.6557 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/1.706, allocations: 135.7 kB / 0.6559 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.03055/1.736, allocations: 13.03 MB / 0.6686 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.736, allocations: 4 kB / 0.6686 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/1.736, allocations: 3.938 kB / 0.6686 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.148e-05/1.736, allocations: 4 kB / 0.6686 GB, free: 10.32 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.00569/1.742, allocations: 1.895 MB / 0.6704 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.742, allocations: 12.03 kB / 0.6705 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/1.742, allocations: 75.09 kB / 0.6705 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/1.742, allocations: 44.38 kB / 0.6706 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/1.742, allocations: 259.9 kB / 0.6708 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/1.742, allocations: 29 kB / 0.6709 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/1.742, allocations: 35.94 kB / 0.6709 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/1.743, allocations: 408.3 kB / 0.6713 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.743, allocations: 0.5 kB / 0.6713 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/1.743, allocations: 16 kB / 0.6713 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.743, allocations: 8.75 kB / 0.6713 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/1.743, allocations: 246.4 kB / 0.6715 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/1.748, allocations: 3.263 MB / 0.6747 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/1.749, allocations: 74.56 kB / 0.6748 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/1.749, allocations: 24.86 kB / 0.6748 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.393/2.142, allocations: 88.69 MB / 0.7614 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/2.142, allocations: 33.94 kB / 0.7615 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/2.142, allocations: 0 / 0.7615 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.000748/2.142, allocations: 184.6 kB / 0.7616 GB, free: 291.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/2.142, allocations: 81.11 kB / 0.7617 GB, free: 291.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/2.143, allocations: 346.8 kB / 0.762 GB, free: 291.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/2.143, allocations: 25.7 kB / 0.7621 GB, free: 291 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/2.143, allocations: 242.8 kB / 0.7623 GB, free: 290.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/2.143, allocations: 28.78 kB / 0.7623 GB, free: 290.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/2.143, allocations: 66.67 kB / 0.7624 GB, free: 290.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/2.143, allocations: 342.6 kB / 0.7627 GB, free: 290.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/2.143, allocations: 44.45 kB / 0.7628 GB, free: 290.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/2.143, allocations: 186.3 kB / 0.7629 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/2.143, allocations: 210.2 kB / 0.7631 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.143, allocations: 0 / 0.7631 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003617/2.144, allocations: 273.1 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/2.144, allocations: 4.469 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.144, allocations: 12.44 kB / 0.7634 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/2.144, allocations: 107.5 kB / 0.7635 GB, free: 289.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/2.144, allocations: 47.91 kB / 0.7636 GB, free: 289.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003058/2.145, allocations: 0.564 MB / 0.7641 GB, free: 288.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/2.145, allocations: 36.66 kB / 0.7641 GB, free: 288.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/2.145, allocations: 15.94 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.0001427/2.145, allocations: 156.2 kB / 0.7643 GB, free: 288.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/2.145, allocations: 35.75 kB / 0.7643 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/2.145, allocations: 177.2 kB / 0.7645 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/2.145, allocations: 4 kB / 0.7645 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/2.145, allocations: 1.172 kB / 0.7645 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/2.145, allocations: 0.5625 kB / 0.7645 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/2.146, allocations: 274.9 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/2.146, allocations: 7.938 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/2.146, allocations: 4.562 kB / 0.7648 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003036/2.146, allocations: 85.56 kB / 0.7649 GB, free: 288 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/2.146, allocations: 0 / 0.7649 GB, free: 288 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002147/2.146, allocations: 0.5614 MB / 0.7654 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.146, allocations: 0 / 0.7654 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/2.146, allocations: 181.1 kB / 0.7656 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/2.146, allocations: 55.06 kB / 0.7656 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/2.146, allocations: 6 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.456e-05/2.146, allocations: 3.984 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/2.147, allocations: 4 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/2.147, allocations: 7.938 kB / 0.7657 GB, free: 287.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001529/2.147, allocations: 251.2 kB / 0.7659 GB, free: 287 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/2.147, allocations: 0.875 kB / 0.7659 GB, free: 287 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004075/2.151, allocations: 1.633 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.006319/2.157, allocations: 3.315 MB / 0.7707 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004427/2.158, allocations: 119.2 kB / 0.7709 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.158, allocations: 0 / 0.7709 GB, free: 282.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/2.158, allocations: 51.56 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.0003694/2.158, allocations: 67.64 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.004261/2.162, allocations: 3.188 MB / 0.7741 GB, free: 279.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/2.162, allocations: 173.6 kB / 0.7742 GB, free: 279 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001353/2.162, allocations: 41.19 kB / 0.7743 GB, free: 278.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/2.163, allocations: 100.3 kB / 0.7744 GB, free: 278.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.014e-06/2.163, allocations: 4 kB / 0.7744 GB, free: 278.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0821/2.245, allocations: 55.79 MB / 0.8289 GB, free: 223.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/11.42, allocations: 11.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiaphragm_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 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: 12.940197278745472] Failed to read output from testmodel.py, exit status != 0: 11.804154735989869 11.683610158 9.945939195 Calling exit ...