Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.006603/0.006603, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001606/0.001606, allocations: 190 kB / 16.67 MB, free: 5.949 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002153, allocations: 279.2 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8941/0.8941, allocations: 169.2 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 99.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002551/0.1638, allocations: 1.425 MB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.1642, allocations: 192.2 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.1643, allocations: 0 / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1644, allocations: 4 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.1644, allocations: 7.922 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1647, allocations: 35.91 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.1648, allocations: 27.92 kB / 0.7676 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.1649, allocations: 4 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.1649, allocations: 11.92 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.165, allocations: 7.984 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.165, allocations: 4 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.1651, allocations: 35.95 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1651, allocations: 11.94 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.1652, allocations: 11.94 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1653, allocations: 32.22 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1653, allocations: 4 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.226e-06/0.1653, allocations: 3.938 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1653, allocations: 3.938 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB 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.0004321/0.1657, allocations: 351.4 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1658, allocations: 8.031 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1658, allocations: 34.75 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1659, allocations: 4.844 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.166, allocations: 172.3 kB / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.166, allocations: 384 / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.166, allocations: 384 / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1662, allocations: 54.22 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1663, allocations: 3.938 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1663, allocations: 0 / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1663, allocations: 4 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1665, allocations: 39.95 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.1668, allocations: 244.9 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1669, allocations: 46.48 kB / 0.7686 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.167, allocations: 20.91 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.1671, allocations: 85.11 kB / 0.7687 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.1671, allocations: 30.56 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.1671, allocations: 0 / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.1674, allocations: 85.58 kB / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.1675, allocations: 51.41 kB / 0.7689 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.1676, allocations: 110 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1676, allocations: 25.7 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.1677, allocations: 84.05 kB / 0.7691 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.1677, allocations: 3.938 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1677, allocations: 25.7 kB / 0.7691 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1678, allocations: 310.8 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.1679, allocations: 19.98 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.168, allocations: 15.98 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1681, allocations: 40.81 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1681, allocations: 3.938 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.1683, allocations: 69.52 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1683, allocations: 4 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1684, allocations: 96 / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1684, allocations: 11.92 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.1685, allocations: 12 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1685, allocations: 0 / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1685, allocations: 7.984 kB / 0.7696 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1685, allocations: 0 / 0.7696 GB, free: 4.914 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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 6.686e-05/0.1686, allocations: 110.4 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1686, allocations: 4 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.1689, allocations: 80.66 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1689, allocations: 0 / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1689, allocations: 7.984 kB / 0.7698 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1689, allocations: 0 / 0.7698 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.169, allocations: 157.6 kB / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.169, allocations: 0 / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.1691, allocations: 7.984 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1691, allocations: 4.25 kB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1691, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1691, allocations: 8.031 kB / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1691, allocations: 0 / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1694, allocations: 163.5 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1694, allocations: 81.02 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1694, allocations: 0 / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.1695, allocations: 12.02 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1696, allocations: 4 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1696, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.1696, allocations: 91.2 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1696, allocations: 0 / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002142/0.1698, allocations: 8 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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.0005168/0.1703, allocations: 0.7046 MB / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1706, allocations: 39.95 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1706, allocations: 0 / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.1707, allocations: 23.92 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1709, allocations: 4.156 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.1713, allocations: 139.2 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1716, allocations: 0.6768 MB / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.1716, allocations: 11.83 kB / 0.7718 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.1716, allocations: 11.42 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.1716, allocations: 0 / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1881, allocations: 1.454 MB / 0.7733 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.145, allocations: 7.938 kB / 0.7733 GB, free: 1.039 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)