Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 119.8 kB / 17.09 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7414/0.7414, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 73.06 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 76.19 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002413/0.1423, allocations: 1.44 MB / 0.6342 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000382/0.1427, allocations: 148.3 kB / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.1427, allocations: 0 / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.1428, allocations: 0 / 0.6343 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.1429, allocations: 11.92 kB / 0.6343 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1431, allocations: 31.91 kB / 0.6343 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.76e-05/0.1432, allocations: 39.91 kB / 0.6344 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1434, allocations: 27.98 kB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.1434, allocations: 19.92 kB / 0.6344 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.1435, allocations: 23.8 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1435, allocations: 4 kB / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.1436, allocations: 31.97 kB / 0.6345 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.1436, allocations: 15.98 kB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1436, allocations: 15.88 kB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1438, allocations: 63.84 kB / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1438, allocations: 0 / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1438, allocations: 0 / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1438, allocations: 0 / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000448/0.1443, allocations: 355.4 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1443, allocations: 12.03 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1454, allocations: 216.5 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1455, allocations: 172.3 kB / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1455, allocations: 384 / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1456, allocations: 4.375 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.1461, allocations: 198 kB / 0.6355 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1461, allocations: 4.172 kB / 0.6355 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1462, allocations: 7.922 kB / 0.6355 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1462, allocations: 4 kB / 0.6355 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.147, allocations: 279.6 kB / 0.6358 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.1479, allocations: 437.3 kB / 0.6362 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1491, allocations: 290.1 kB / 0.6365 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.1495, allocations: 108.7 kB / 0.6366 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1495, allocations: 0 / 0.6366 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1495, allocations: 30.56 kB / 0.6366 GB, free: 300 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1495, allocations: 0 / 0.6366 GB, free: 300 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001205/0.1507, allocations: 313.3 kB / 0.6369 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1508, allocations: 55.39 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.1509, allocations: 117.8 kB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1509, allocations: 25.7 kB / 0.6371 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.151, allocations: 84.14 kB / 0.6372 GB, free: 15.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.151, allocations: 19.73 kB / 0.6372 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.1511, allocations: 21.72 kB / 0.6372 GB, free: 15.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1512, allocations: 318.8 kB / 0.6375 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.1516, allocations: 95.88 kB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.152, allocations: 91.88 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.1527, allocations: 176.6 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1527, allocations: 0 / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007798/0.1535, allocations: 221.4 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1535, allocations: 4 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1535, allocations: 0 / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1535, allocations: 0 / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1538, allocations: 35.94 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1538, allocations: 3.938 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.154, allocations: 31.95 kB / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1541, allocations: 0 / 0.6381 GB, free: 14.65 MB / 494.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 (3): * Single equations (assignments): 3 * 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 0.0001167/0.1542, allocations: 121.8 kB / 0.6383 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1542, allocations: 7.906 kB / 0.6383 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.1543, allocations: 3.906 kB / 0.6383 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1543, allocations: 0 / 0.6383 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1543, allocations: 8 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1543, allocations: 0 / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1545, allocations: 209.5 kB / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1546, allocations: 0 / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.1548, allocations: 36.31 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1548, allocations: 0 / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.1548, allocations: 4 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1548, allocations: 0 / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1548, allocations: 3.938 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.1557, allocations: 327.4 kB / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1557, allocations: 77.11 kB / 0.6389 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1558, allocations: 0 / 0.6389 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.156, allocations: 31.95 kB / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.156, allocations: 0 / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1561, allocations: 7.984 kB / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.1561, allocations: 95.27 kB / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1561, allocations: 0 / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1564, allocations: 12 kB / 0.639 GB, free: 13.62 MB / 494.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 (3): * Single equations (assignments): 3 * 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.000112/0.1565, allocations: 99.19 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1572, allocations: 199.7 kB / 0.6393 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1573, allocations: 0 / 0.6393 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.1576, allocations: 107.9 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.1579, allocations: 0 / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.1588, allocations: 283 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1591, allocations: 0.6885 MB / 0.6404 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.1591, allocations: 15.44 kB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1591, allocations: 3.938 kB / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of Templates: time 0.002529/0.1617, allocations: 1.182 MB / 0.6415 GB, free: 10.99 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)