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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8627/0.8627, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.236e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 31.98 MB / 236.8 MB, free: 5.547 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.741/1.938, allocations: 293.8 MB / 0.5181 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2143/2.152, allocations: 186.1 MB / 0.6999 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/2.153, allocations: 11.94 kB / 0.6999 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.121e-05/2.153, allocations: 31.66 kB / 0.6999 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/2.153, allocations: 107.2 kB / 0.7 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3986/2.552, allocations: 8.82 MB / 0.7086 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007371/2.552, allocations: 415.8 kB / 0.709 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/2.553, allocations: 185.2 kB / 0.7092 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/2.553, allocations: 135.7 kB / 0.7093 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/2.553, allocations: 159 kB / 0.7095 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/2.553, allocations: 15.38 kB / 0.7095 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03751/2.591, allocations: 19.91 MB / 0.729 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/2.591, allocations: 53.38 kB / 0.729 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/2.591, allocations: 199 kB / 0.7292 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02944/2.621, allocations: 9.734 MB / 0.7387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/2.621, allocations: 0 / 0.7387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/2.621, allocations: 0 / 0.7387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.742e-05/2.621, allocations: 3.812 kB / 0.7387 GB, free: 2.719 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.005813/2.627, allocations: 1.713 MB / 0.7404 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/2.627, allocations: 8.812 kB / 0.7404 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/2.627, allocations: 49.34 kB / 0.7404 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/2.627, allocations: 297.7 kB / 0.7407 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/2.627, allocations: 26.78 kB / 0.7407 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/2.627, allocations: 40.94 kB / 0.7408 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/2.628, allocations: 389.8 kB / 0.7411 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/2.628, allocations: 0 / 0.7411 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/2.628, allocations: 23.06 kB / 0.7412 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/2.628, allocations: 8.844 kB / 0.7412 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/2.629, allocations: 254.7 kB / 0.7414 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009774/2.639, allocations: 6.162 MB / 0.7474 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/2.64, allocations: 379.6 kB / 0.7478 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/2.641, allocations: 68.55 kB / 0.7479 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1734/2.814, allocations: 82.7 MB / 0.8286 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/2.814, allocations: 30.56 kB / 0.8287 GB, free: 11.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.375e-06/2.814, allocations: 1.859 kB / 0.8287 GB, free: 11.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005829/2.82, allocations: 1.115 MB / 0.8298 GB, free: 10.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/2.82, allocations: 51.41 kB / 0.8298 GB, free: 9.996 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/2.82, allocations: 315.1 kB / 0.8301 GB, free: 9.746 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/2.82, allocations: 29.7 kB / 0.8301 GB, free: 9.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/2.821, allocations: 230.7 kB / 0.8303 GB, free: 9.523 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/2.821, allocations: 46.77 kB / 0.8304 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/2.821, allocations: 36.83 kB / 0.8304 GB, free: 9.453 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001382/2.821, allocations: 337.8 kB / 0.8307 GB, free: 9.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/2.821, allocations: 72.92 kB / 0.8308 GB, free: 9.078 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/2.821, allocations: 167.8 kB / 0.831 GB, free: 8.895 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/2.822, allocations: 249.5 kB / 0.8312 GB, free: 8.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/2.822, allocations: 0 / 0.8312 GB, free: 8.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002649/2.824, allocations: 0.6392 MB / 0.8318 GB, free: 8.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/2.824, allocations: 8 kB / 0.8318 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/2.825, allocations: 9.969 kB / 0.8319 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008379/2.825, allocations: 165 kB / 0.832 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/2.826, allocations: 42.89 kB / 0.8321 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000819/2.826, allocations: 0.6897 MB / 0.8327 GB, free: 7.289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/2.827, allocations: 50.94 kB / 0.8328 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/2.827, allocations: 12 kB / 0.8328 GB, free: 7.234 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.0001984/2.827, allocations: 148.2 kB / 0.8329 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/2.827, allocations: 27.22 kB / 0.833 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/2.829, allocations: 0.5495 MB / 0.8335 GB, free: 6.578 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/2.83, allocations: 4 kB / 0.8335 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.83, allocations: 0 / 0.8335 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/2.83, allocations: 3.984 kB / 0.8335 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/2.83, allocations: 340.7 kB / 0.8338 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/2.83, allocations: 0 / 0.8338 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/2.83, allocations: 8 kB / 0.8338 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/2.831, allocations: 156.4 kB / 0.834 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/2.831, allocations: 4 kB / 0.834 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007603/2.832, allocations: 0.6983 MB / 0.8347 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/2.832, allocations: 0 / 0.8347 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/2.834, allocations: 0.5356 MB / 0.8352 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/2.834, allocations: 120 kB / 0.8353 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/2.834, allocations: 7.562 kB / 0.8353 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/2.834, allocations: 9.844 kB / 0.8353 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/2.834, allocations: 6.891 kB / 0.8353 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/2.834, allocations: 7.812 kB / 0.8353 GB, free: 4.805 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003211/2.835, allocations: 233.3 kB / 0.8356 GB, free: 4.621 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/2.835, allocations: 0 / 0.8356 GB, free: 4.621 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005742/2.841, allocations: 1.428 MB / 0.837 GB, free: 3.285 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.01135/2.852, allocations: 2.223 MB / 0.8391 GB, free: 1.363 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009184/2.853, allocations: 191.4 kB / 0.8393 GB, free: 1.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/2.853, allocations: 192 / 0.8393 GB, free: 1.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/2.853, allocations: 89.59 kB / 0.8394 GB, free: 1.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/2.854, allocations: 64.7 kB / 0.8395 GB, free: 1.117 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/2.855, allocations: 0.6754 MB / 0.8401 GB, free: 468 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/2.856, allocations: 0.7774 MB / 0.8409 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001509/2.856, allocations: 42.89 kB / 0.8409 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/2.856, allocations: 23.44 kB / 0.8409 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of SimCode: time 3.6e-07/2.856, allocations: 0 / 0.8409 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of Templates: time 0.06267/2.919, allocations: 45.51 MB / 0.8854 GB, free: 2.211 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) Environment - environmentSimulation: