Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.7869/0.7869, allocations: 150.9 MB / 166 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 19.98 kB / 204.1 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 31.33 MB / 235.4 MB, free: 5.445 MB / 190.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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.469/1.608, allocations: 293.7 MB / 0.5168 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03959/1.648, allocations: 37.54 MB / 0.5534 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/1.648, allocations: 4 kB / 0.5534 GB, free: 8.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 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 4.0.0-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 4.0.0-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). Notification: Performance of NFTyping.typeComponents: time 0.0002988/1.648, allocations: 80.53 kB / 0.5535 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/1.649, allocations: 95.3 kB / 0.5536 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01818/1.667, allocations: 7.171 MB / 0.5606 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/1.667, allocations: 382.2 kB / 0.561 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/1.667, allocations: 125.9 kB / 0.5611 GB, free: 400 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/1.668, allocations: 139.3 kB / 0.5612 GB, free: 260 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/1.668, allocations: 143.3 kB / 0.5614 GB, free: 116 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/1.668, allocations: 16 kB / 0.5614 GB, free: 100 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02488/1.693, allocations: 17.71 MB / 0.5787 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/1.693, allocations: 51.77 kB / 0.5787 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/1.693, allocations: 151.1 kB / 0.5789 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/1.708, allocations: 8.46 MB / 0.5871 GB, free: 5.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.708, allocations: 0 / 0.5871 GB, free: 5.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.022e-06/1.708, allocations: 0 / 0.5871 GB, free: 5.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/1.708, allocations: 0 / 0.5871 GB, free: 5.68 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003573/1.711, allocations: 1.489 MB / 0.5886 GB, free: 4.141 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.712, allocations: 16.03 kB / 0.5886 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/1.712, allocations: 66.53 kB / 0.5887 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/1.712, allocations: 35.56 kB / 0.5887 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.712, allocations: 243 kB / 0.5889 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/1.712, allocations: 16.56 kB / 0.589 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/1.712, allocations: 23.98 kB / 0.589 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/1.712, allocations: 332.2 kB / 0.5893 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.713, allocations: 5.172 kB / 0.5893 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.713, allocations: 8 kB / 0.5893 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/1.713, allocations: 15.94 kB / 0.5893 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/1.713, allocations: 221.2 kB / 0.5895 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03393/1.747, allocations: 18.02 MB / 0.6071 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/1.747, allocations: 204.1 kB / 0.6073 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/1.748, allocations: 124.8 kB / 0.6074 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1373/1.885, allocations: 77.28 MB / 0.6829 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.885, allocations: 34.56 kB / 0.6829 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/1.885, allocations: 0 / 0.6829 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004112/1.889, allocations: 0.9328 MB / 0.6838 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/1.889, allocations: 55.41 kB / 0.6839 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/1.889, allocations: 246.6 kB / 0.6841 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.889, allocations: 25.7 kB / 0.6842 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.89, allocations: 160.5 kB / 0.6843 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/1.89, allocations: 137.9 kB / 0.6844 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/1.89, allocations: 65.53 kB / 0.6845 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.89, allocations: 342.8 kB / 0.6848 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.89, allocations: 96.41 kB / 0.6849 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.89, allocations: 144 kB / 0.6851 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/1.891, allocations: 274 kB / 0.6853 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.891, allocations: 3.938 kB / 0.6853 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002425/1.893, allocations: 0.6059 MB / 0.6859 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.893, allocations: 7.938 kB / 0.6859 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.893, allocations: 4 kB / 0.6859 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/1.894, allocations: 231.4 kB / 0.6862 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/1.894, allocations: 18.11 kB / 0.6862 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007829/1.895, allocations: 0.7395 MB / 0.6869 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.895, allocations: 35.62 kB / 0.6869 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.895, allocations: 8.031 kB / 0.6869 GB, free: 4.582 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.895, allocations: 142.3 kB / 0.6871 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/1.895, allocations: 27.62 kB / 0.6871 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009342/1.896, allocations: 0.791 MB / 0.6879 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004669/1.897, allocations: 294.4 kB / 0.6881 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.897, allocations: 7.938 kB / 0.6882 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.897, allocations: 3.984 kB / 0.6882 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.898, allocations: 0.8694 MB / 0.689 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.898, allocations: 0 / 0.689 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/1.898, allocations: 31.86 kB / 0.689 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006898/1.899, allocations: 226.5 kB / 0.6893 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/1.899, allocations: 5.406 kB / 0.6893 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007582/1.899, allocations: 0.7616 MB / 0.69 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.899, allocations: 0 / 0.69 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/1.9, allocations: 435.8 kB / 0.6904 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/1.9, allocations: 116.7 kB / 0.6905 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/1.9, allocations: 15.89 kB / 0.6905 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.9, allocations: 8 kB / 0.6906 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/1.9, allocations: 19.92 kB / 0.6906 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.9, allocations: 4 kB / 0.6906 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002472/1.901, allocations: 255 kB / 0.6908 GB, free: 392 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.403e-06/1.901, allocations: 0 / 0.6908 GB, free: 392 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1446/2.045, allocations: 1.195 MB / 0.692 GB, free: 226.2 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005694/2.051, allocations: 2.633 MB / 0.6946 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007162/2.052, allocations: 320 kB / 0.6949 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/2.052, allocations: 0.8438 kB / 0.6949 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/2.052, allocations: 141.4 kB / 0.695 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/2.053, allocations: 125.7 kB / 0.6951 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/2.06, allocations: 3.978 MB / 0.699 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/2.061, allocations: 0.7833 MB / 0.6998 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001259/2.061, allocations: 28.75 kB / 0.6998 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/2.061, allocations: 97.31 kB / 0.6999 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.061, allocations: 0 / 0.6999 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/2.12, allocations: 48.71 MB / 0.7475 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/2.12, allocations: 252.9 kB / 0.7477 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.908/6.029, allocations: 0 / 0.7477 GB, free: 194.4 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)