Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 114.7 kB / 17.09 MB, free: 6.008 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.001133/0.001133, allocations: 189.6 kB / 18.03 MB, free: 5.086 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.298/1.298, 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.7783/0.7783, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 70.5 kB / 0.5738 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 78.71 MB / 0.6506 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001743/0.1384, allocations: 0.5766 MB / 0.6512 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1398, allocations: 1.11 MB / 0.6523 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1399, allocations: 0 / 0.6523 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1399, allocations: 0 / 0.6523 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1402, allocations: 23.91 kB / 0.6523 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1402, allocations: 3.938 kB / 0.6523 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.967e-05/0.1402, allocations: 19.88 kB / 0.6523 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.1403, allocations: 0 / 0.6523 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.278e-05/0.1403, allocations: 0 / 0.6523 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.1403, allocations: 4 kB / 0.6523 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.1403, allocations: 0 / 0.6523 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1405, allocations: 27.89 kB / 0.6524 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-06/0.1405, allocations: 0 / 0.6524 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.1405, allocations: 3.938 kB / 0.6524 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.1406, allocations: 11.98 kB / 0.6524 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1406, allocations: 0 / 0.6524 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1406, allocations: 4 kB / 0.6524 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1406, allocations: 4 kB / 0.6524 GB, free: 2.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002476/0.1408, allocations: 311.5 kB / 0.6527 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1409, allocations: 8.031 kB / 0.6527 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1409, allocations: 0.9375 kB / 0.6527 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.141, allocations: 168.4 kB / 0.6529 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.141, allocations: 4.375 kB / 0.6529 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1411, allocations: 4.328 kB / 0.6529 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.1412, allocations: 34.02 kB / 0.6529 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1412, allocations: 11.92 kB / 0.6529 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1412, allocations: 0 / 0.6529 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1412, allocations: 0 / 0.6529 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.1412, allocations: 8 kB / 0.6529 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1414, allocations: 157.6 kB / 0.6531 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1416, allocations: 30.58 kB / 0.6531 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.1416, allocations: 16.94 kB / 0.6531 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.1417, allocations: 85.05 kB / 0.6532 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1418, allocations: 42.44 kB / 0.6532 GB, free: 1.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.1418, allocations: 0 / 0.6532 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004631/0.1464, allocations: 0.5638 MB / 0.6538 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1464, allocations: 51.41 kB / 0.6538 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.1465, allocations: 89.86 kB / 0.6539 GB, free: 468 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1465, allocations: 25.7 kB / 0.6539 GB, free: 436 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.1466, allocations: 88.14 kB / 0.654 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1466, allocations: 19.84 kB / 0.654 GB, free: 324 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.1467, allocations: 13.72 kB / 0.6541 GB, free: 304 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1468, allocations: 318.8 kB / 0.6544 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.1474, allocations: 83.95 kB / 0.6544 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.1481, allocations: 106.5 kB / 0.6545 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1494, allocations: 190.4 kB / 0.6547 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1494, allocations: 3.938 kB / 0.6547 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001347/0.1507, allocations: 217.6 kB / 0.6549 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1507, allocations: 7.938 kB / 0.6549 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1508, allocations: 4 kB / 0.655 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1508, allocations: 0 / 0.655 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.1512, allocations: 48 kB / 0.655 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1512, allocations: 4 kB / 0.655 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.1516, allocations: 36.17 kB / 0.655 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.1516, allocations: 8.422 kB / 0.655 GB, free: 15.26 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.183e-05/0.1517, allocations: 121.8 kB / 0.6552 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1517, allocations: 7.938 kB / 0.6552 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.1532, allocations: 237 kB / 0.6554 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1532, allocations: 3.984 kB / 0.6554 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1532, allocations: 0 / 0.6554 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1532, allocations: 81.11 kB / 0.6555 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1532, allocations: 0 / 0.6555 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.1536, allocations: 43.97 kB / 0.6555 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.1536, allocations: 4 kB / 0.6555 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/0.1553, allocations: 324.8 kB / 0.6558 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001361/0.1567, allocations: 386.6 kB / 0.6562 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006143/0.1573, allocations: 87.95 kB / 0.6563 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.1574, allocations: 75.28 kB / 0.6564 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of Backend: time 4.3e-07/0.1574, allocations: 3.938 kB / 0.6564 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.1584, allocations: 182.3 kB / 0.6565 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003446/0.1588, allocations: 0.5331 MB / 0.6571 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.003511/0.1623, allocations: 1.372 MB / 0.6584 GB, free: 11.71 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)