Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.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.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8364/0.8364, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 18.58 kB / 237.7 MB, free: 1.797 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05669/0.05705, allocations: 31.34 MB / 269.1 MB, free: 7.074 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.Properties.WaterSteamSimple.Validation.calculette_d): time 1.692/1.749, allocations: 293.8 MB / 0.5497 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004521/1.754, allocations: 3.686 MB / 0.5533 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/1.754, allocations: 0 / 0.5533 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/1.754, allocations: 3.938 kB / 0.5533 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/1.754, allocations: 19.84 kB / 0.5533 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/1.756, allocations: 0.7246 MB / 0.554 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/1.756, allocations: 59.64 kB / 0.5541 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/1.756, allocations: 19.97 kB / 0.5541 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/1.756, allocations: 23.94 kB / 0.5541 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/1.756, allocations: 31.89 kB / 0.5541 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/1.756, allocations: 0 / 0.5541 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/1.758, allocations: 0.6009 MB / 0.5547 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/1.758, allocations: 11.98 kB / 0.5547 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/1.758, allocations: 23.88 kB / 0.5548 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/1.759, allocations: 0.6183 MB / 0.5554 GB, free: 8.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.759, allocations: 0 / 0.5554 GB, free: 8.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/1.759, allocations: 0 / 0.5554 GB, free: 8.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/1.759, allocations: 4 kB / 0.5554 GB, free: 8.227 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006611/1.76, allocations: 442.2 kB / 0.5558 GB, free: 7.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.76, allocations: 8.031 kB / 0.5558 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/1.76, allocations: 3.953 kB / 0.5558 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.76, allocations: 174.9 kB / 0.556 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/1.76, allocations: 4 kB / 0.556 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.76, allocations: 8 kB / 0.556 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/1.76, allocations: 65.66 kB / 0.5561 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.76, allocations: 0 / 0.5561 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.76, allocations: 4 kB / 0.5561 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.76, allocations: 0 / 0.5561 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/1.761, allocations: 67.94 kB / 0.5561 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/1.761, allocations: 442.9 kB / 0.5565 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/1.761, allocations: 66.48 kB / 0.5566 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/1.761, allocations: 24.86 kB / 0.5566 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/1.764, allocations: 3.301 MB / 0.5599 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.764, allocations: 38.56 kB / 0.5599 GB, free: 2.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/1.764, allocations: 4 kB / 0.5599 GB, free: 2.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002824/1.764, allocations: 101.7 kB / 0.56 GB, free: 2.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/1.764, allocations: 55.41 kB / 0.56 GB, free: 2.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/1.764, allocations: 105.8 kB / 0.5601 GB, free: 2.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.764, allocations: 25.7 kB / 0.5602 GB, free: 2.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/1.765, allocations: 92.08 kB / 0.5603 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/1.765, allocations: 39.69 kB / 0.5603 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/1.765, allocations: 25.7 kB / 0.5603 GB, free: 2.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/1.765, allocations: 318.8 kB / 0.5606 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/1.765, allocations: 20.36 kB / 0.5606 GB, free: 1.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/1.765, allocations: 23.92 kB / 0.5607 GB, free: 1.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.87e-05/1.765, allocations: 51.16 kB / 0.5607 GB, free: 1.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.765, allocations: 0 / 0.5607 GB, free: 1.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001604/1.765, allocations: 97.66 kB / 0.5608 GB, free: 1.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.765, allocations: 4 kB / 0.5608 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.765, allocations: 0 / 0.5608 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.765, allocations: 7.938 kB / 0.5608 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.765, allocations: 27.92 kB / 0.5608 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.765, allocations: 4 kB / 0.5608 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/1.765, allocations: 7.891 kB / 0.5609 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.765, allocations: 4 kB / 0.5609 GB, free: 1.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/1.765, allocations: 113.8 kB / 0.561 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/1.765, allocations: 3.953 kB / 0.561 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/1.766, allocations: 121.9 kB / 0.5611 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.766, allocations: 7.938 kB / 0.5611 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.766, allocations: 3.984 kB / 0.5611 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/1.766, allocations: 89 kB / 0.5612 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.766, allocations: 0 / 0.5612 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/1.766, allocations: 0 / 0.5612 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/1.766, allocations: 7.984 kB / 0.5612 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001813/1.766, allocations: 162.9 kB / 0.5613 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002258/1.766, allocations: 282.6 kB / 0.5616 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.743e-05/1.766, allocations: 20.23 kB / 0.5616 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.029e-05/1.766, allocations: 91.28 kB / 0.5617 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Backend: time 2.81e-07/1.766, allocations: 0 / 0.5617 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/1.768, allocations: 431.5 kB / 0.5621 GB, free: 264 kB / 446.1 MB Notification: Performance of SimCode: time 0.0005332/1.768, allocations: 0.6216 MB / 0.5627 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Templates: time 0.009195/1.777, allocations: 5.358 MB / 0.568 GB, free: 10.23 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)