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.8368/0.8368, allocations: 150.8 MB / 166.1 MB, free: 15.13 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 4 kB / 204.9 MB, free: 9.586 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 31.99 MB / 236.9 MB, free: 5.48 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.544/1.701, allocations: 294.7 MB / 0.5191 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1816/1.883, allocations: 186.2 MB / 0.7009 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/1.883, allocations: 7.938 kB / 0.7009 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/1.883, allocations: 23.78 kB / 0.7009 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003069/1.884, allocations: 111.1 kB / 0.701 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2936/2.177, allocations: 8.824 MB / 0.7097 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/2.178, allocations: 410.7 kB / 0.7101 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/2.178, allocations: 181.2 kB / 0.7102 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/2.178, allocations: 141.1 kB / 0.7104 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/2.178, allocations: 155.2 kB / 0.7105 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/2.178, allocations: 15.12 kB / 0.7105 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0288/2.207, allocations: 19.91 MB / 0.73 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/2.207, allocations: 57.94 kB / 0.73 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002343/2.208, allocations: 198.9 kB / 0.7302 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/2.225, allocations: 9.738 MB / 0.7397 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/2.225, allocations: 0 / 0.7397 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/2.225, allocations: 0 / 0.7397 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/2.225, allocations: 0 / 0.7397 GB, free: 2.426 MB / 0.5762 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.003624/2.229, allocations: 1.707 MB / 0.7414 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/2.229, allocations: 13.17 kB / 0.7414 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/2.229, allocations: 78.72 kB / 0.7415 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/2.229, allocations: 45.69 kB / 0.7415 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/2.229, allocations: 304 kB / 0.7418 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/2.23, allocations: 26.38 kB / 0.7418 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/2.23, allocations: 37.56 kB / 0.7419 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/2.23, allocations: 380.4 kB / 0.7422 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/2.23, allocations: 0 / 0.7422 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/2.23, allocations: 22.66 kB / 0.7423 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/2.23, allocations: 8.938 kB / 0.7423 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/2.231, allocations: 268.4 kB / 0.7425 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/2.238, allocations: 6.157 MB / 0.7485 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/2.24, allocations: 377.1 kB / 0.7489 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/2.24, allocations: 67.34 kB / 0.749 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1512/2.391, allocations: 82.7 MB / 0.8297 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/2.391, allocations: 34.55 kB / 0.8298 GB, free: 10.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/2.391, allocations: 0 / 0.8298 GB, free: 10.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.00538/2.396, allocations: 1.11 MB / 0.8308 GB, free: 9.621 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/2.397, allocations: 58.3 kB / 0.8309 GB, free: 9.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/2.397, allocations: 311.3 kB / 0.8312 GB, free: 9.305 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/2.397, allocations: 25.7 kB / 0.8312 GB, free: 9.273 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/2.397, allocations: 235.8 kB / 0.8314 GB, free: 9.082 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/2.397, allocations: 55.44 kB / 0.8315 GB, free: 9.039 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/2.397, allocations: 33.08 kB / 0.8315 GB, free: 9.008 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001019/2.397, allocations: 333.9 kB / 0.8318 GB, free: 8.684 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/2.397, allocations: 66.09 kB / 0.8319 GB, free: 8.641 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/2.398, allocations: 174.3 kB / 0.8321 GB, free: 8.457 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/2.398, allocations: 240.9 kB / 0.8323 GB, free: 8.242 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/2.398, allocations: 0 / 0.8323 GB, free: 8.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002383/2.4, allocations: 0.6401 MB / 0.8329 GB, free: 7.695 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.4, allocations: 9.25 kB / 0.8329 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/2.4, allocations: 4 kB / 0.8329 GB, free: 7.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/2.401, allocations: 169.8 kB / 0.8331 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/2.401, allocations: 38.89 kB / 0.8331 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/2.402, allocations: 0.6942 MB / 0.8338 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/2.402, allocations: 35.28 kB / 0.8339 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/2.402, allocations: 27.53 kB / 0.8339 GB, free: 6.805 MB / 0.67 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.000146/2.402, allocations: 155.5 kB / 0.834 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/2.402, allocations: 23.72 kB / 0.834 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/2.405, allocations: 0.5471 MB / 0.8346 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/2.405, allocations: 8 kB / 0.8346 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/2.405, allocations: 0 / 0.8346 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.405, allocations: 3.984 kB / 0.8346 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/2.405, allocations: 332.3 kB / 0.8349 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/2.405, allocations: 0 / 0.8349 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/2.405, allocations: 14.78 kB / 0.8349 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006306/2.406, allocations: 153.4 kB / 0.8351 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/2.406, allocations: 4 kB / 0.8351 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006355/2.406, allocations: 0.6982 MB / 0.8358 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.407, allocations: 2.906 kB / 0.8358 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/2.409, allocations: 0.5381 MB / 0.8363 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/2.409, allocations: 120.1 kB / 0.8364 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/2.409, allocations: 4 kB / 0.8364 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/2.409, allocations: 8 kB / 0.8364 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/2.409, allocations: 7.797 kB / 0.8364 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/2.409, allocations: 4 kB / 0.8364 GB, free: 4.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002187/2.409, allocations: 227.5 kB / 0.8366 GB, free: 4.191 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/2.409, allocations: 0 / 0.8366 GB, free: 4.191 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003751/2.413, allocations: 1.432 MB / 0.838 GB, free: 2.855 MB / 0.67 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.005862/2.419, allocations: 2.907 MB / 0.8409 GB, free: 296 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005222/2.419, allocations: 195.8 kB / 0.8411 GB, free: 152 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/2.419, allocations: 0 / 0.8411 GB, free: 152 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/2.42, allocations: 89.23 kB / 0.8411 GB, free: 84 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/2.42, allocations: 70.22 kB / 0.8412 GB, free: 32 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/2.428, allocations: 4.135 MB / 0.8453 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/2.428, allocations: 0.7717 MB / 0.846 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001375/2.429, allocations: 34.92 kB / 0.846 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/2.429, allocations: 109.1 kB / 0.8461 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/2.429, allocations: 0 / 0.8461 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2687/2.697, allocations: 50.69 MB / 0.8956 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/2.698, allocations: 294.4 kB / 0.8959 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.538/8.235, allocations: 4.5 kB / 0.8959 GB, free: 8.496 MB / 0.7325 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)