Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 118.2 kB / 17.08 MB, free: 5.789 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.001691/0.00169, allocations: 196.7 kB / 18.02 MB, free: 4.914 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.67 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.134, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002884/0.1369, allocations: 1.763 MB / 0.6345 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1379, allocations: 0.6554 MB / 0.6351 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.138, allocations: 8 kB / 0.6351 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1381, allocations: 11.81 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.1381, allocations: 19.78 kB / 0.6351 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.1387, allocations: 170.6 kB / 0.6353 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1388, allocations: 115.7 kB / 0.6354 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.139, allocations: 53.08 kB / 0.6355 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1391, allocations: 59.77 kB / 0.6355 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.1392, allocations: 47.77 kB / 0.6356 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1392, allocations: 12 kB / 0.6356 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1393, allocations: 47.97 kB / 0.6356 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.1394, allocations: 31.89 kB / 0.6357 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.1394, allocations: 51.73 kB / 0.6357 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1396, allocations: 155.4 kB / 0.6359 GB, free: 1.195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1396, allocations: 0 / 0.6359 GB, free: 1.195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1397, allocations: 0 / 0.6359 GB, free: 1.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1397, allocations: 0 / 0.6359 GB, free: 1.195 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005649/0.1402, allocations: 439 kB / 0.6363 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1403, allocations: 12.03 kB / 0.6363 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.1411, allocations: 112.7 kB / 0.6364 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1412, allocations: 184 kB / 0.6366 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/0.1413, allocations: 67.89 kB / 0.6366 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1413, allocations: 8.375 kB / 0.6366 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.1418, allocations: 169.7 kB / 0.6368 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1419, allocations: 0 / 0.6368 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.1419, allocations: 8 kB / 0.6368 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1419, allocations: 0 / 0.6368 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.1424, allocations: 159.8 kB / 0.637 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1435, allocations: 489.6 kB / 0.6374 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.1444, allocations: 222.3 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.1447, allocations: 76.91 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1448, allocations: 4 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1448, allocations: 42.55 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 3.366e-06/0.1448, allocations: 3.984 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009296/0.1457, allocations: 261.5 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1458, allocations: 51.41 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1459, allocations: 147.8 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1459, allocations: 25.7 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.146, allocations: 108.2 kB / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.146, allocations: 23.66 kB / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.1461, allocations: 25.7 kB / 0.6384 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1462, allocations: 322.8 kB / 0.6387 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.1465, allocations: 75.92 kB / 0.6388 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1468, allocations: 94.48 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.1473, allocations: 162.7 kB / 0.639 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1473, allocations: 0 / 0.639 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006281/0.148, allocations: 201.4 kB / 0.6392 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.148, allocations: 10.03 kB / 0.6392 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.148, allocations: 3.938 kB / 0.6392 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.148, allocations: 3.938 kB / 0.6392 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1483, allocations: 39.95 kB / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.1483, allocations: 4.062 kB / 0.6393 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1485, allocations: 23.95 kB / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1485, allocations: 4.156 kB / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001081/0.1486, allocations: 117.8 kB / 0.6394 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1487, allocations: 7.906 kB / 0.6394 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.1493, allocations: 210 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1494, allocations: 4 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1494, allocations: 0 / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1494, allocations: 0 / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1496, allocations: 238.4 kB / 0.6398 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1496, allocations: 4 kB / 0.6398 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1499, allocations: 35.89 kB / 0.6399 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1499, allocations: 0 / 0.6399 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1499, allocations: 7.922 kB / 0.6399 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1499, allocations: 0 / 0.6399 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.1499, allocations: 7.984 kB / 0.6399 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.1506, allocations: 287.4 kB / 0.6402 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1506, allocations: 88.98 kB / 0.6402 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1507, allocations: 7.938 kB / 0.6402 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.151, allocations: 27.95 kB / 0.6403 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.151, allocations: 12 kB / 0.6403 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.151, allocations: 7.984 kB / 0.6403 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.1511, allocations: 110.3 kB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1511, allocations: 0 / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1514, allocations: 20 kB / 0.6404 GB, free: 12.16 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 (6): * Single equations (assignments): 6 * 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.0001165/0.1515, allocations: 99.25 kB / 0.6405 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.1521, allocations: 163.8 kB / 0.6407 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1521, allocations: 0 / 0.6407 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1524, allocations: 79.92 kB / 0.6407 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1528, allocations: 15.97 kB / 0.6408 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.1534, allocations: 289 kB / 0.641 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1537, allocations: 0.7002 MB / 0.6417 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.1538, allocations: 15.42 kB / 0.6417 GB, free: 10.75 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1538, allocations: 4 kB / 0.6417 GB, free: 10.75 MB / 494.1 MB Notification: Performance of Templates: time 0.003037/0.1568, allocations: 1.604 MB / 0.6433 GB, free: 9.145 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)