Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8261/0.8261, allocations: 150.9 MB / 167.1 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 15.97 kB / 206 MB, free: 9.062 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 31.34 MB / 237.3 MB, free: 5.691 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_T): time 1.587/1.733, allocations: 293.4 MB / 0.5183 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/1.736, allocations: 3.284 MB / 0.5215 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/1.736, allocations: 0.625 kB / 0.5215 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/1.736, allocations: 8.906 kB / 0.5215 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/1.736, allocations: 15.84 kB / 0.5215 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/1.737, allocations: 430 kB / 0.5219 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/1.737, allocations: 56.77 kB / 0.522 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.258e-05/1.737, allocations: 23.95 kB / 0.522 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/1.737, allocations: 15.94 kB / 0.522 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/1.738, allocations: 32.41 kB / 0.5221 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/1.738, allocations: 0.5312 kB / 0.5221 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/1.738, allocations: 355.5 kB / 0.5224 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/1.738, allocations: 8.438 kB / 0.5224 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/1.738, allocations: 28.42 kB / 0.5224 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/1.739, allocations: 369.1 kB / 0.5228 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.739, allocations: 0.7812 kB / 0.5228 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/1.739, allocations: 0 / 0.5228 GB, free: 9.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/1.739, allocations: 0.5312 kB / 0.5228 GB, free: 9.711 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.0004612/1.739, allocations: 416.6 kB / 0.5232 GB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/1.739, allocations: 8.031 kB / 0.5232 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/1.739, allocations: 13.45 kB / 0.5232 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.74, allocations: 165.6 kB / 0.5234 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/1.74, allocations: 2.312 kB / 0.5234 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.74, allocations: 4.375 kB / 0.5234 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.74, allocations: 69.92 kB / 0.5234 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/1.74, allocations: 0 / 0.5234 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/1.74, allocations: 1.188 kB / 0.5234 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.74, allocations: 4 kB / 0.5234 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/1.74, allocations: 83.89 kB / 0.5235 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/1.74, allocations: 186.9 kB / 0.5237 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/1.74, allocations: 83.17 kB / 0.5238 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/1.74, allocations: 26.42 kB / 0.5238 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.742, allocations: 2.622 MB / 0.5264 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.742, allocations: 38.97 kB / 0.5264 GB, free: 5.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/1.742, allocations: 1 kB / 0.5264 GB, free: 5.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002392/1.742, allocations: 109.9 kB / 0.5265 GB, free: 5.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/1.742, allocations: 52.72 kB / 0.5266 GB, free: 5.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/1.742, allocations: 105.8 kB / 0.5267 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/1.742, allocations: 25.7 kB / 0.5267 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/1.742, allocations: 80.64 kB / 0.5268 GB, free: 4.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/1.743, allocations: 43.98 kB / 0.5268 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/1.743, allocations: 22.22 kB / 0.5268 GB, free: 4.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/1.743, allocations: 324.3 kB / 0.5271 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/1.743, allocations: 15.98 kB / 0.5271 GB, free: 4.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/1.743, allocations: 21.36 kB / 0.5272 GB, free: 4.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/1.743, allocations: 54.97 kB / 0.5272 GB, free: 4.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.743, allocations: 0 / 0.5272 GB, free: 4.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/1.743, allocations: 95.98 kB / 0.5273 GB, free: 4.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.743, allocations: 9.344 kB / 0.5273 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.743, allocations: 0 / 0.5273 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.743, allocations: 4 kB / 0.5273 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/1.743, allocations: 23.92 kB / 0.5273 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.743, allocations: 0 / 0.5273 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/1.743, allocations: 6.25 kB / 0.5273 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/1.743, allocations: 8 kB / 0.5274 GB, free: 4.242 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.723e-05/1.743, allocations: 117.8 kB / 0.5275 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/1.743, allocations: 7.938 kB / 0.5275 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/1.744, allocations: 131 kB / 0.5276 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.744, allocations: 3.938 kB / 0.5276 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.744, allocations: 8 kB / 0.5276 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.744, allocations: 1.875 kB / 0.5276 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/1.744, allocations: 173.6 kB / 0.5278 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.744, allocations: 0 / 0.5278 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/1.744, allocations: 27.98 kB / 0.5278 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.744, allocations: 3.938 kB / 0.5278 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/1.744, allocations: 0.8438 kB / 0.5278 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.744, allocations: 0 / 0.5278 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.744, allocations: 5.031 kB / 0.5278 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/1.744, allocations: 140.5 kB / 0.5279 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/1.744, allocations: 92.89 kB / 0.528 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.744, allocations: 0 / 0.528 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/1.744, allocations: 8.656 kB / 0.528 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/1.744, allocations: 7.984 kB / 0.5281 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.744, allocations: 1.094 kB / 0.5281 GB, free: 3.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.362e-05/1.744, allocations: 83.28 kB / 0.5281 GB, free: 3.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.744, allocations: 1.375 kB / 0.5281 GB, free: 3.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003165/1.745, allocations: 111.9 kB / 0.5282 GB, free: 3.238 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 (13): * Single equations (assignments): 13 * 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.0004681/1.745, allocations: 293.8 kB / 0.5285 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/1.745, allocations: 67.39 kB / 0.5286 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.745, allocations: 0 / 0.5286 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/1.745, allocations: 43.91 kB / 0.5286 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/1.746, allocations: 19.92 kB / 0.5286 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/1.746, allocations: 182 kB / 0.5288 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.746, allocations: 0.6859 MB / 0.5295 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.224e-05/1.746, allocations: 19.94 kB / 0.5295 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/1.746, allocations: 15.44 kB / 0.5295 GB, free: 1.898 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/1.746, allocations: 1.188 kB / 0.5295 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Templates: time 0.006673/1.753, allocations: 3.705 MB / 0.5331 GB, free: 14.38 MB / 430.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)