Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8706/0.8706, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.239e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 31.97 MB / 236.8 MB, free: 5.43 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.TestFixedPowerHeatExchanger): time 1.706/1.92, allocations: 295 MB / 0.5193 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/2.128, allocations: 184.9 MB / 0.6998 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00066/2.129, allocations: 15.94 kB / 0.6998 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/2.13, allocations: 119.2 kB / 0.6999 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009434/2.131, allocations: 222.3 kB / 0.7001 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4277/2.558, allocations: 8.542 MB / 0.7085 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001344/2.56, allocations: 0.7775 MB / 0.7092 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/2.56, allocations: 327.7 kB / 0.7095 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/2.561, allocations: 279.8 kB / 0.7098 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/2.561, allocations: 272.2 kB / 0.7101 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/2.561, allocations: 26.78 kB / 0.7101 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03875/2.6, allocations: 19.52 MB / 0.7292 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/2.6, allocations: 106.4 kB / 0.7293 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008368/2.601, allocations: 348.2 kB / 0.7296 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03073/2.632, allocations: 9.896 MB / 0.7393 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/2.632, allocations: 0.5938 kB / 0.7393 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.584e-06/2.632, allocations: 4.938 kB / 0.7393 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.052e-05/2.632, allocations: 0 / 0.7393 GB, free: 2.734 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005808/2.638, allocations: 1.888 MB / 0.7411 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/2.638, allocations: 9.406 kB / 0.7411 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/2.638, allocations: 89.59 kB / 0.7412 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/2.638, allocations: 414.5 kB / 0.7416 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/2.638, allocations: 53.11 kB / 0.7417 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/2.639, allocations: 65.81 kB / 0.7417 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/2.639, allocations: 0.7018 MB / 0.7424 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/2.639, allocations: 2.906 kB / 0.7424 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/2.64, allocations: 30.16 kB / 0.7424 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/2.64, allocations: 25.67 kB / 0.7425 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/2.64, allocations: 438.1 kB / 0.7429 GB, free: 0.8203 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/2.657, allocations: 11.97 MB / 0.7546 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/2.657, allocations: 128.7 kB / 0.7547 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/2.657, allocations: 97.7 kB / 0.7548 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1539/2.811, allocations: 77.53 MB / 0.8305 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/2.811, allocations: 38.19 kB / 0.8305 GB, free: 10.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.665e-06/2.811, allocations: 0 / 0.8305 GB, free: 10.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.000843/2.812, allocations: 335.9 kB / 0.8309 GB, free: 10.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/2.812, allocations: 81.11 kB / 0.8309 GB, free: 10.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/2.813, allocations: 0.4924 MB / 0.8314 GB, free: 9.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/2.813, allocations: 25.7 kB / 0.8314 GB, free: 9.617 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/2.813, allocations: 358.6 kB / 0.8318 GB, free: 9.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/2.813, allocations: 151.3 kB / 0.8319 GB, free: 9.207 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/2.813, allocations: 56.25 kB / 0.832 GB, free: 9.164 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000138/2.813, allocations: 364.9 kB / 0.8323 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/2.813, allocations: 101 kB / 0.8324 GB, free: 8.758 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/2.814, allocations: 278.3 kB / 0.8327 GB, free: 8.469 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/2.814, allocations: 419.6 kB / 0.8331 GB, free: 8.117 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/2.814, allocations: 0 / 0.8331 GB, free: 8.117 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006881/2.815, allocations: 474.1 kB / 0.8335 GB, free: 7.793 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/2.815, allocations: 9.406 kB / 0.8336 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/2.815, allocations: 4.75 kB / 0.8336 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/2.815, allocations: 11.98 kB / 0.8336 GB, free: 7.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/2.815, allocations: 77.78 kB / 0.8336 GB, free: 7.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/2.815, allocations: 10.91 kB / 0.8337 GB, free: 7.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/2.816, allocations: 68.34 kB / 0.8337 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/2.816, allocations: 27.48 kB / 0.8337 GB, free: 7.609 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002376/2.816, allocations: 189.4 kB / 0.8339 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/2.816, allocations: 59.19 kB / 0.834 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/2.817, allocations: 0.6432 MB / 0.8346 GB, free: 6.961 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005069/2.817, allocations: 455.8 kB / 0.835 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/2.817, allocations: 4 kB / 0.835 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/2.817, allocations: 3.984 kB / 0.8351 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/2.819, allocations: 1.542 MB / 0.8366 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.819, allocations: 0 / 0.8366 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/2.819, allocations: 78.5 kB / 0.8366 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/2.819, allocations: 4 kB / 0.8366 GB, free: 5.348 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/2.819, allocations: 7.812 kB / 0.8366 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/2.819, allocations: 9.719 kB / 0.8367 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.819, allocations: 0 / 0.8367 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/2.82, allocations: 0.697 MB / 0.8373 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/2.82, allocations: 182.6 kB / 0.8375 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/2.82, allocations: 15.36 kB / 0.8375 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/2.821, allocations: 7.5 kB / 0.8375 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/2.821, allocations: 31.78 kB / 0.8376 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/2.821, allocations: 13.25 kB / 0.8376 GB, free: 4.539 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003482/2.821, allocations: 344.5 kB / 0.8379 GB, free: 4.277 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/2.821, allocations: 0 / 0.8379 GB, free: 4.277 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005274/2.826, allocations: 1.495 MB / 0.8394 GB, free: 2.879 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009256/2.836, allocations: 2.195 MB / 0.8415 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009999/2.837, allocations: 0.5731 MB / 0.8421 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/2.837, allocations: 0 / 0.8421 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/2.837, allocations: 234.2 kB / 0.8423 GB, free: 428 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/2.839, allocations: 286.9 kB / 0.8426 GB, free: 196 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/2.841, allocations: 1.622 MB / 0.8441 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/2.841, allocations: 0.9583 MB / 0.8451 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003709/2.842, allocations: 96.62 kB / 0.8452 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/2.842, allocations: 47.44 kB / 0.8452 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/2.842, allocations: 0 / 0.8452 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of Templates: time 0.06758/2.909, allocations: 50.13 MB / 0.8942 GB, free: 11.66 MB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) Environment - environmentSimulation: