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.7317/0.7317, allocations: 150.9 MB / 167 MB, free: 14.27 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 15.97 kB / 205.2 MB, free: 9.605 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 31.33 MB / 236.5 MB, free: 5.457 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.Properties.WaterSteamSimple.Validation.calculette_d): time 1.397/1.518, allocations: 293.6 MB / 0.5178 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/1.522, allocations: 3.69 MB / 0.5214 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/1.522, allocations: 0 / 0.5214 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/1.522, allocations: 7.922 kB / 0.5214 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/1.522, allocations: 11.86 kB / 0.5214 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/1.524, allocations: 0.731 MB / 0.5221 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.397e-05/1.524, allocations: 52.3 kB / 0.5221 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/1.524, allocations: 23.89 kB / 0.5222 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/1.524, allocations: 16.5 kB / 0.5222 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/1.524, allocations: 33.56 kB / 0.5222 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/1.524, allocations: 7.984 kB / 0.5222 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/1.525, allocations: 0.6008 MB / 0.5228 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/1.525, allocations: 11.98 kB / 0.5228 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/1.525, allocations: 29.3 kB / 0.5228 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007844/1.526, allocations: 0.5995 MB / 0.5234 GB, free: 8.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.526, allocations: 7.984 kB / 0.5234 GB, free: 8.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/1.526, allocations: 0 / 0.5234 GB, free: 8.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/1.526, allocations: 1.969 kB / 0.5234 GB, free: 8.594 MB / 414.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.0004384/1.526, allocations: 439 kB / 0.5239 GB, free: 8.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/1.526, allocations: 8.031 kB / 0.5239 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/1.526, allocations: 7.906 kB / 0.5239 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.164e-05/1.526, allocations: 163.6 kB / 0.524 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/1.526, allocations: 5.312 kB / 0.524 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/1.526, allocations: 4 kB / 0.524 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.527, allocations: 65.61 kB / 0.5241 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.527, allocations: 7.031 kB / 0.5241 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/1.527, allocations: 0 / 0.5241 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.527, allocations: 0 / 0.5241 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/1.527, allocations: 73.22 kB / 0.5242 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/1.527, allocations: 439.4 kB / 0.5246 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/1.527, allocations: 60.16 kB / 0.5247 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/1.527, allocations: 37.02 kB / 0.5247 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/1.53, allocations: 3.304 MB / 0.5279 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.53, allocations: 39.59 kB / 0.528 GB, free: 3.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.53, allocations: 0.5 kB / 0.528 GB, free: 3.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002342/1.53, allocations: 102 kB / 0.5281 GB, free: 2.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.53, allocations: 52.47 kB / 0.5281 GB, free: 2.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/1.53, allocations: 105.8 kB / 0.5282 GB, free: 2.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/1.53, allocations: 27.61 kB / 0.5282 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/1.53, allocations: 92.05 kB / 0.5283 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/1.53, allocations: 35.45 kB / 0.5284 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/1.53, allocations: 25.7 kB / 0.5284 GB, free: 2.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/1.53, allocations: 317.3 kB / 0.5287 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/1.53, allocations: 19.98 kB / 0.5287 GB, free: 2.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/1.53, allocations: 21.62 kB / 0.5287 GB, free: 2.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/1.53, allocations: 56.8 kB / 0.5288 GB, free: 2.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.53, allocations: 0 / 0.5288 GB, free: 2.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/1.531, allocations: 95.03 kB / 0.5289 GB, free: 2.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.531, allocations: 7.25 kB / 0.5289 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.531, allocations: 4 kB / 0.5289 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.531, allocations: 3.938 kB / 0.5289 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/1.531, allocations: 19.98 kB / 0.5289 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.531, allocations: 1.219 kB / 0.5289 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/1.531, allocations: 7.844 kB / 0.5289 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.531, allocations: 4 kB / 0.5289 GB, free: 2.035 MB / 414.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 7.452e-05/1.531, allocations: 118.7 kB / 0.529 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/1.531, allocations: 9.188 kB / 0.529 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/1.531, allocations: 127.8 kB / 0.5292 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.531, allocations: 4 kB / 0.5292 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.531, allocations: 0 / 0.5292 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.531, allocations: 2.312 kB / 0.5292 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/1.531, allocations: 174.5 kB / 0.5293 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/1.531, allocations: 0 / 0.5293 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/1.531, allocations: 24.45 kB / 0.5293 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.531, allocations: 0 / 0.5293 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.531, allocations: 8.5 kB / 0.5294 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.532, allocations: 0.625 kB / 0.5294 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.532, allocations: 256 / 0.5294 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.532, allocations: 190.2 kB / 0.5295 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/1.532, allocations: 85.45 kB / 0.5296 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/1.532, allocations: 11.94 kB / 0.5296 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/1.532, allocations: 4.875 kB / 0.5296 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/1.532, allocations: 7.984 kB / 0.5296 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/1.532, allocations: 4.5 kB / 0.5296 GB, free: 1.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.443e-05/1.532, allocations: 84.72 kB / 0.5297 GB, free: 1.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.532, allocations: 3.938 kB / 0.5297 GB, free: 1.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003967/1.532, allocations: 167.8 kB / 0.5299 GB, free: 0.9453 MB / 414.1 MB 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0005788/1.533, allocations: 401.3 kB / 0.5303 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/1.533, allocations: 65.58 kB / 0.5303 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/1.533, allocations: 1.125 kB / 0.5303 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/1.533, allocations: 35.98 kB / 0.5304 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/1.533, allocations: 9.406 kB / 0.5304 GB, free: 472 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/1.534, allocations: 218.2 kB / 0.5306 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/1.534, allocations: 0.6826 MB / 0.5313 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/1.534, allocations: 15.44 kB / 0.5313 GB, free: 15.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/1.534, allocations: 0 / 0.5313 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Templates: time 0.004593/1.539, allocations: 3.56 MB / 0.5347 GB, free: 12.12 MB / 430.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)