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.8222/0.8222, allocations: 153.8 MB / 172.7 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.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 0.0005273/0.0005273, allocations: 19.97 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1658, allocations: 33.35 MB / 283.1 MB, free: 1.734 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.812/1.978, allocations: 307.6 MB / 0.5769 GB, free: 17.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2003/2.178, allocations: 167.1 MB / 0.7401 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/2.178, allocations: 7.938 kB / 0.7401 GB, free: 13.98 MB / 0.6075 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.0001962/2.179, allocations: 44.09 kB / 0.7401 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004441/2.179, allocations: 123 kB / 0.7403 GB, free: 13.81 MB / 0.6075 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.03196/2.211, allocations: 12.24 MB / 0.7522 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006205/2.212, allocations: 414.8 kB / 0.7526 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/2.212, allocations: 168.9 kB / 0.7528 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/2.212, allocations: 183.3 kB / 0.753 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/2.212, allocations: 149.7 kB / 0.7531 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/2.212, allocations: 36 kB / 0.7531 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03564/2.248, allocations: 19.61 MB / 0.7723 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/2.248, allocations: 87.7 kB / 0.7724 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/2.248, allocations: 167.2 kB / 0.7725 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02274/2.271, allocations: 10.4 MB / 0.7827 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/2.271, allocations: 0 / 0.7827 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/2.271, allocations: 0 / 0.7827 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.768e-06/2.271, allocations: 0 / 0.7827 GB, free: 2.312 MB / 0.6387 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.005111/2.276, allocations: 1.899 MB / 0.7845 GB, free: 380 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/2.276, allocations: 8.031 kB / 0.7845 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/2.276, allocations: 75.09 kB / 0.7846 GB, free: 288 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/2.277, allocations: 47.72 kB / 0.7847 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/2.277, allocations: 263.4 kB / 0.7849 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/2.277, allocations: 28.84 kB / 0.7849 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/2.277, allocations: 36 kB / 0.785 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/2.278, allocations: 410.3 kB / 0.7854 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/2.278, allocations: 3.938 kB / 0.7854 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/2.278, allocations: 20 kB / 0.7854 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/2.278, allocations: 8 kB / 0.7854 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/2.278, allocations: 250.4 kB / 0.7856 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007412/2.286, allocations: 3.25 MB / 0.7888 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/2.286, allocations: 70.59 kB / 0.7889 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/2.286, allocations: 24.89 kB / 0.7889 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4622/2.748, allocations: 88.7 MB / 0.8755 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/2.748, allocations: 42.38 kB / 0.8756 GB, free: 281.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/2.748, allocations: 0 / 0.8756 GB, free: 281.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0006725/2.749, allocations: 180.2 kB / 0.8757 GB, free: 281.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/2.749, allocations: 81.11 kB / 0.8758 GB, free: 281.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/2.749, allocations: 360 kB / 0.8761 GB, free: 280.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/2.749, allocations: 25.7 kB / 0.8762 GB, free: 280.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/2.749, allocations: 238 kB / 0.8764 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/2.749, allocations: 32.45 kB / 0.8764 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/2.749, allocations: 64.95 kB / 0.8765 GB, free: 280.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/2.749, allocations: 334.6 kB / 0.8768 GB, free: 280.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/2.749, allocations: 44.48 kB / 0.8769 GB, free: 280.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/2.75, allocations: 189.3 kB / 0.877 GB, free: 280 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/2.75, allocations: 208.8 kB / 0.8772 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/2.75, allocations: 4 kB / 0.8772 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004595/2.75, allocations: 278.6 kB / 0.8775 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/2.75, allocations: 4 kB / 0.8775 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/2.75, allocations: 9.531 kB / 0.8775 GB, free: 279.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008554/2.751, allocations: 116.3 kB / 0.8776 GB, free: 279.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/2.751, allocations: 46.05 kB / 0.8777 GB, free: 279.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/2.752, allocations: 0.5616 MB / 0.8782 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/2.752, allocations: 39.94 kB / 0.8783 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/2.752, allocations: 12 kB / 0.8783 GB, free: 278.8 MB / 0.6856 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.0001518/2.752, allocations: 161.6 kB / 0.8784 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/2.752, allocations: 31.81 kB / 0.8785 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/2.753, allocations: 175.4 kB / 0.8786 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/2.753, allocations: 4 kB / 0.8786 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.753, allocations: 0 / 0.8786 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/2.753, allocations: 4.75 kB / 0.8786 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/2.753, allocations: 276.4 kB / 0.8789 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/2.753, allocations: 0 / 0.8789 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/2.753, allocations: 12.27 kB / 0.8789 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/2.753, allocations: 77.64 kB / 0.879 GB, free: 278.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/2.753, allocations: 0 / 0.879 GB, free: 278.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/2.754, allocations: 0.5701 MB / 0.8795 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.754, allocations: 0.7656 kB / 0.8795 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/2.754, allocations: 171.8 kB / 0.8797 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/2.754, allocations: 53.94 kB / 0.8798 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/2.754, allocations: 7.562 kB / 0.8798 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/2.754, allocations: 3.984 kB / 0.8798 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/2.754, allocations: 5.312 kB / 0.8798 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/2.754, allocations: 7.984 kB / 0.8798 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001989/2.755, allocations: 246.5 kB / 0.88 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.755, allocations: 0 / 0.88 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003175/2.758, allocations: 1.631 MB / 0.8816 GB, free: 275.9 MB / 0.6856 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.006981/2.765, allocations: 3.094 MB / 0.8846 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004218/2.765, allocations: 124.8 kB / 0.8847 GB, free: 273.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/2.765, allocations: 0 / 0.8847 GB, free: 273.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/2.765, allocations: 38.73 kB / 0.8848 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/2.766, allocations: 75.66 kB / 0.8849 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/2.77, allocations: 3.206 MB / 0.888 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/2.77, allocations: 176.8 kB / 0.8882 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001407/2.77, allocations: 44.83 kB / 0.8882 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/2.771, allocations: 99.41 kB / 0.8883 GB, free: 269.5 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/2.771, allocations: 0 / 0.8883 GB, free: 269.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/2.853, allocations: 55.39 MB / 0.9424 GB, free: 214.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/18.07, allocations: 8.766 kB / 0.9424 GB, free: 214.9 MB / 0.6856 GB " [Timeout remaining time 642] (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: 19.936137260869145] Failed to read output from testmodel.py, exit status != 0: 18.365498777944595 18.375466574 16.102011852 Calling exit ...