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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006754/0.0006754, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007202/0.0007202, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5987/0.5987, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 9.25 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005389/0.1184, allocations: 303.1 kB / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1196, allocations: 1.075 MB / 0.5583 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.1197, allocations: 0 / 0.5583 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.875e-06/0.1197, allocations: 0 / 0.5583 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1199, allocations: 23.91 kB / 0.5583 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.294e-06/0.1199, allocations: 4 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.949e-05/0.1199, allocations: 3.938 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.1199, allocations: 0 / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.032e-05/0.12, allocations: 4 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.342e-05/0.12, allocations: 7.984 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.12, allocations: 0 / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.1201, allocations: 23.91 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.176e-06/0.1201, allocations: 0 / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.1201, allocations: 25.7 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.313e-05/0.1202, allocations: 4 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1202, allocations: 0 / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1202, allocations: 0 / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.1202, allocations: 0 / 0.5583 GB, free: 10.18 MB / 430.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.0001998/0.1204, allocations: 323.4 kB / 0.5587 GB, free: 9.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1204, allocations: 8.031 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.1205, allocations: 34.56 kB / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.656e-05/0.1205, allocations: 0 / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.1206, allocations: 163 kB / 0.5589 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1206, allocations: 3.984 kB / 0.5589 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1206, allocations: 0 / 0.5589 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.1207, allocations: 37.66 kB / 0.5589 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1207, allocations: 4 kB / 0.5589 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.1207, allocations: 0 / 0.5589 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1207, allocations: 4 kB / 0.5589 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.1208, allocations: 7.984 kB / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1209, allocations: 149.6 kB / 0.559 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.121, allocations: 38.55 kB / 0.5591 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.1211, allocations: 8.859 kB / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.1212, allocations: 85.19 kB / 0.5592 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1212, allocations: 34.56 kB / 0.5592 GB, free: 9.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1212, allocations: 0 / 0.5592 GB, free: 9.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.003221/0.1244, allocations: 0.5755 MB / 0.5598 GB, free: 8.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1245, allocations: 51.41 kB / 0.5598 GB, free: 8.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.803e-05/0.1245, allocations: 89.86 kB / 0.5599 GB, free: 8.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1246, allocations: 33.7 kB / 0.5599 GB, free: 8.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.1246, allocations: 80.14 kB / 0.56 GB, free: 8.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1246, allocations: 15.78 kB / 0.56 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.1246, allocations: 0 / 0.56 GB, free: 8.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.1247, allocations: 322.8 kB / 0.5603 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.1252, allocations: 75.95 kB / 0.5604 GB, free: 7.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.1256, allocations: 106.5 kB / 0.5605 GB, free: 7.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.1261, allocations: 87.89 kB / 0.5606 GB, free: 7.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1261, allocations: 4 kB / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009349/0.127, allocations: 213.6 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.127, allocations: 4 kB / 0.5608 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1271, allocations: 4.062 kB / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1271, allocations: 3.953 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1274, allocations: 51.97 kB / 0.5609 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1274, allocations: 3.984 kB / 0.5609 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1277, allocations: 43.97 kB / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1277, allocations: 0 / 0.5609 GB, free: 7.301 MB / 430.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.1278, allocations: 113.8 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1278, allocations: 3.906 kB / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1288, allocations: 237.7 kB / 0.5612 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1289, allocations: 3.953 kB / 0.5613 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1289, allocations: 8 kB / 0.5613 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1289, allocations: 0 / 0.5613 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.13, allocations: 450.5 kB / 0.5617 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.13, allocations: 3.984 kB / 0.5617 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1303, allocations: 47.97 kB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.1303, allocations: 3.953 kB / 0.5617 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1303, allocations: 15.92 kB / 0.5618 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1303, allocations: 0 / 0.5618 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1303, allocations: 0 / 0.5618 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.1313, allocations: 295.5 kB / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.1313, allocations: 85.09 kB / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1313, allocations: 3.953 kB / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.1316, allocations: 43.92 kB / 0.5622 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1316, allocations: 3.984 kB / 0.5622 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1317, allocations: 4 kB / 0.5622 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.1317, allocations: 75.28 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 4 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1319, allocations: 8 kB / 0.5623 GB, free: 5.809 MB / 430.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.1332, allocations: 0.8419 MB / 0.5631 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.1341, allocations: 179.8 kB / 0.5633 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1341, allocations: 4.188 kB / 0.5633 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1345, allocations: 83.95 kB / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1347, allocations: 7.953 kB / 0.5633 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.1357, allocations: 252.5 kB / 0.5636 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1359, allocations: 0.677 MB / 0.5642 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.1362, allocations: 44.25 kB / 0.5643 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.1362, allocations: 11.42 kB / 0.5643 GB, free: 3.625 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1362, allocations: 0 / 0.5643 GB, free: 3.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009438/0.1457, allocations: 1.415 MB / 0.5657 GB, free: 2.395 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1459, allocations: 223.7 kB / 0.5659 GB, free: 2.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.367/1.513, allocations: 1.688 kB / 0.5659 GB, free: 2.141 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: