Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.0008042/0.0008042, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008331/0.0008331, allocations: 185 kB / 16.92 MB, free: 6.773 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001788/0.1641, allocations: 1.174 MB / 0.5612 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.1651, allocations: 0.5503 MB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.1651, allocations: 4 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.1652, allocations: 7.922 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.1652, allocations: 0 / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1655, allocations: 39.91 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.1655, allocations: 23.92 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.1656, allocations: 4 kB / 0.5618 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.1657, allocations: 19.86 kB / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.1658, allocations: 19.92 kB / 0.5618 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1658, allocations: 0 / 0.5618 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.166, allocations: 47.95 kB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.166, allocations: 7.984 kB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.166, allocations: 37.58 kB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1662, allocations: 59.86 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1662, allocations: 0 / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1662, allocations: 0 / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1662, allocations: 0 / 0.562 GB, free: 6.918 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.000455/0.1667, allocations: 351.7 kB / 0.5623 GB, free: 6.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1667, allocations: 12.03 kB / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.1668, allocations: 30.75 kB / 0.5624 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1668, allocations: 4.844 kB / 0.5624 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.167, allocations: 172.3 kB / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.167, allocations: 384 / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.167, allocations: 384 / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1672, allocations: 57.73 kB / 0.5626 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1672, allocations: 4 kB / 0.5626 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1672, allocations: 0 / 0.5626 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1672, allocations: 0 / 0.5626 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.1673, allocations: 23.98 kB / 0.5626 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1677, allocations: 260.9 kB / 0.5629 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.1678, allocations: 30.58 kB / 0.5629 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.1678, allocations: 24.84 kB / 0.5629 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/0.1687, allocations: 0.4975 MB / 0.5634 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1687, allocations: 30.56 kB / 0.5634 GB, free: 5.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.1687, allocations: 4 kB / 0.5634 GB, free: 5.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.169, allocations: 69.59 kB / 0.5635 GB, free: 5.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.169, allocations: 51.41 kB / 0.5635 GB, free: 5.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.1691, allocations: 109.8 kB / 0.5637 GB, free: 4.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1691, allocations: 25.7 kB / 0.5637 GB, free: 4.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1692, allocations: 88.12 kB / 0.5638 GB, free: 4.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1692, allocations: 8.031 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.1692, allocations: 9.719 kB / 0.5638 GB, free: 4.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1693, allocations: 330.7 kB / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.1694, allocations: 15.92 kB / 0.5641 GB, free: 4.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.1694, allocations: 8 kB / 0.5641 GB, free: 4.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.1695, allocations: 36.91 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1695, allocations: 0 / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001324/0.1697, allocations: 61.66 kB / 0.5642 GB, free: 4.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1697, allocations: 4 kB / 0.5642 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1697, allocations: 0 / 0.5642 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1697, allocations: 0 / 0.5642 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.1698, allocations: 8 kB / 0.5642 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1698, allocations: 7.969 kB / 0.5642 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.1698, allocations: 0 / 0.5642 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1699, allocations: 7.984 kB / 0.5642 GB, free: 4.285 MB / 430.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 (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 8.148e-05/0.1699, allocations: 113.8 kB / 0.5643 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.17, allocations: 7.906 kB / 0.5644 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.1702, allocations: 65.2 kB / 0.5644 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1702, allocations: 0 / 0.5644 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1702, allocations: 0 / 0.5644 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1702, allocations: 0 / 0.5644 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1704, allocations: 169.6 kB / 0.5646 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1704, allocations: 0 / 0.5646 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1704, allocations: 4 kB / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1704, allocations: 0 / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1704, allocations: 0 / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1704, allocations: 0 / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1705, allocations: 7.938 kB / 0.5646 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.1706, allocations: 155.5 kB / 0.5647 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.1707, allocations: 81.02 kB / 0.5648 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1707, allocations: 4 kB / 0.5648 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.1708, allocations: 4 kB / 0.5648 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.1708, allocations: 3.984 kB / 0.5648 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1708, allocations: 8.031 kB / 0.5648 GB, free: 3.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.1709, allocations: 83.28 kB / 0.5649 GB, free: 3.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1709, allocations: 0 / 0.5649 GB, free: 3.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1711, allocations: 19.98 kB / 0.5649 GB, free: 3.473 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 (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.0005449/0.1717, allocations: 0.7084 MB / 0.5656 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1718, allocations: 23.98 kB / 0.5656 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1718, allocations: 0 / 0.5656 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.1719, allocations: 15.98 kB / 0.5657 GB, free: 2.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.1721, allocations: 9.812 kB / 0.5657 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1725, allocations: 178.2 kB / 0.5658 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1727, allocations: 0.6809 MB / 0.5665 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1727, allocations: 4 kB / 0.5665 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1728, allocations: 11.44 kB / 0.5665 GB, free: 1.754 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1728, allocations: 4 kB / 0.5665 GB, free: 1.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.184, allocations: 1.379 MB / 0.5679 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.1843, allocations: 184.7 kB / 0.568 GB, free: 252 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.92, allocations: 0 / 0.568 GB, free: 252 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)