Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7837/0.7837, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 21.28 kB / 236.6 MB, free: 2.035 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0522/0.05254, allocations: 31.34 MB / 267.9 MB, free: 7.547 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.539/1.592, allocations: 294.9 MB / 0.5496 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4973/2.089, allocations: 187.4 MB / 0.7327 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/2.089, allocations: 14.16 kB / 0.7327 GB, free: 1.176 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64: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 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 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 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C 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.000137/2.089, allocations: 42.67 kB / 0.7327 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/2.09, allocations: 122.2 kB / 0.7328 GB, free: 1.176 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02907/2.119, allocations: 11.55 MB / 0.7441 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006159/2.119, allocations: 434.8 kB / 0.7445 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/2.12, allocations: 220.2 kB / 0.7447 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/2.12, allocations: 172.8 kB / 0.7449 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/2.12, allocations: 187.2 kB / 0.7451 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/2.12, allocations: 35.91 kB / 0.7451 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0323/2.152, allocations: 19.88 MB / 0.7645 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/2.153, allocations: 85.94 kB / 0.7646 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/2.153, allocations: 203.4 kB / 0.7648 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02223/2.175, allocations: 9.722 MB / 0.7743 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/2.175, allocations: 1.203 kB / 0.7743 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/2.175, allocations: 0 / 0.7743 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.918e-06/2.175, allocations: 0 / 0.7743 GB, free: 12.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.004642/2.18, allocations: 1.782 MB / 0.7761 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/2.18, allocations: 10.44 kB / 0.7761 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/2.18, allocations: 77.33 kB / 0.7761 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/2.18, allocations: 43.34 kB / 0.7762 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/2.181, allocations: 313.2 kB / 0.7765 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/2.181, allocations: 28.88 kB / 0.7765 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/2.181, allocations: 34.03 kB / 0.7765 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/2.181, allocations: 383.9 kB / 0.7769 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/2.181, allocations: 3.188 kB / 0.7769 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/2.181, allocations: 18.88 kB / 0.7769 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/2.181, allocations: 9.188 kB / 0.7769 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/2.182, allocations: 257.5 kB / 0.7772 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007453/2.189, allocations: 6.161 MB / 0.7832 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/2.191, allocations: 304.6 kB / 0.7835 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/2.191, allocations: 60.77 kB / 0.7835 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.143/2.334, allocations: 82.48 MB / 0.8641 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/2.334, allocations: 37.75 kB / 0.8641 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/2.334, allocations: 0 / 0.8641 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.004762/2.339, allocations: 0.916 MB / 0.865 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/2.339, allocations: 54.97 kB / 0.8651 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/2.339, allocations: 306.4 kB / 0.8654 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/2.339, allocations: 29.33 kB / 0.8654 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/2.339, allocations: 243.5 kB / 0.8656 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/2.339, allocations: 45.17 kB / 0.8657 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/2.339, allocations: 68.47 kB / 0.8657 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.34, allocations: 338.4 kB / 0.8661 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/2.34, allocations: 60.47 kB / 0.8661 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/2.34, allocations: 164.3 kB / 0.8663 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/2.34, allocations: 248.2 kB / 0.8665 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/2.34, allocations: 0 / 0.8665 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00224/2.343, allocations: 0.5656 MB / 0.8671 GB, free: 13 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/2.343, allocations: 4.219 kB / 0.8671 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/2.343, allocations: 11.78 kB / 0.8671 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007102/2.343, allocations: 158.1 kB / 0.8672 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/2.343, allocations: 40.33 kB / 0.8673 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006647/2.344, allocations: 0.692 MB / 0.8679 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/2.344, allocations: 38.47 kB / 0.868 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/2.344, allocations: 12 kB / 0.868 GB, free: 12.13 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/2.344, allocations: 156.2 kB / 0.8681 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/2.345, allocations: 27.72 kB / 0.8682 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/2.347, allocations: 469.5 kB / 0.8686 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/2.347, allocations: 4 kB / 0.8686 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/2.347, allocations: 0 / 0.8686 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/2.347, allocations: 0 / 0.8686 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/2.347, allocations: 338.2 kB / 0.8689 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/2.347, allocations: 0 / 0.8689 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/2.347, allocations: 19.17 kB / 0.869 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005954/2.348, allocations: 145.4 kB / 0.8691 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/2.348, allocations: 11.17 kB / 0.8691 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005856/2.348, allocations: 0.6869 MB / 0.8698 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.348, allocations: 0 / 0.8698 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/2.35, allocations: 473.2 kB / 0.8702 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/2.35, allocations: 112.7 kB / 0.8703 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/2.35, allocations: 0 / 0.8703 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/2.351, allocations: 19.5 kB / 0.8704 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/2.351, allocations: 7.938 kB / 0.8704 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/2.351, allocations: 3.984 kB / 0.8704 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00021/2.351, allocations: 227.1 kB / 0.8706 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/2.351, allocations: 0 / 0.8706 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003471/2.354, allocations: 1.44 MB / 0.872 GB, free: 8.152 MB / 0.7012 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005653/2.36, allocations: 2.851 MB / 0.8748 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005333/2.36, allocations: 201.5 kB / 0.875 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/2.36, allocations: 4.875 kB / 0.875 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/2.361, allocations: 85.14 kB / 0.875 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/2.361, allocations: 72.92 kB / 0.8751 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/2.369, allocations: 3.805 MB / 0.8788 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/2.369, allocations: 0.7678 MB / 0.8796 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001102/2.369, allocations: 34.91 kB / 0.8796 GB, free: 484 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/2.369, allocations: 107.4 kB / 0.8797 GB, free: 376 kB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/2.369, allocations: 0 / 0.8797 GB, free: 376 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07907/2.448, allocations: 52.03 MB / 0.9305 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/16.15, allocations: 8 kB / 0.9305 GB, free: 12.52 MB / 0.7637 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)