Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007504/0.0007504, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008428/0.0008428, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.04/1.04, allocations: 143.4 MB / 434.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001536/0.1661, allocations: 1.151 MB / 0.5987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.1666, allocations: 184.5 kB / 0.5988 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.1666, allocations: 0 / 0.5988 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.1666, allocations: 0 / 0.5988 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.1667, allocations: 7.938 kB / 0.5989 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1669, allocations: 23.97 kB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.167, allocations: 23.92 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.1671, allocations: 4 kB / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.1671, allocations: 11.92 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.1672, allocations: 4 kB / 0.5989 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1672, allocations: 0 / 0.5989 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.1673, allocations: 35.97 kB / 0.599 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1673, allocations: 15.84 kB / 0.599 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1673, allocations: 33.7 kB / 0.599 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.118e-05/0.1674, allocations: 15.95 kB / 0.599 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1675, allocations: 4 kB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1675, allocations: 4 kB / 0.599 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1675, allocations: 0 / 0.599 GB, free: 6.184 MB / 0.4981 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.0004456/0.1679, allocations: 347.5 kB / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.168, allocations: 12.03 kB / 0.5994 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.168, allocations: 30.56 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.168, allocations: 0 / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1682, allocations: 167 kB / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1682, allocations: 4 kB / 0.5996 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.1682, allocations: 4 kB / 0.5996 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1684, allocations: 57.61 kB / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1684, allocations: 0 / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1684, allocations: 0 / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1685, allocations: 0 / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1686, allocations: 55.89 kB / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.169, allocations: 244.9 kB / 0.5999 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1691, allocations: 46.55 kB / 0.5999 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.1692, allocations: 28.91 kB / 0.6 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.1693, allocations: 81.05 kB / 0.6001 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1693, allocations: 38.56 kB / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.1693, allocations: 0 / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.1697, allocations: 101.5 kB / 0.6002 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1698, allocations: 51.41 kB / 0.6002 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.1699, allocations: 113.9 kB / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1699, allocations: 25.7 kB / 0.6004 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.1699, allocations: 80.14 kB / 0.6004 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.17, allocations: 7.906 kB / 0.6005 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.17, allocations: 4 kB / 0.6005 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1701, allocations: 314.8 kB / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1702, allocations: 15.98 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.1702, allocations: 35.86 kB / 0.6008 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.1703, allocations: 19.98 kB / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1703, allocations: 0 / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.1705, allocations: 81.72 kB / 0.6009 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1706, allocations: 4 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1706, allocations: 3.984 kB / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1706, allocations: 0 / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.1707, allocations: 15.98 kB / 0.6009 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1707, allocations: 0 / 0.6009 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.1708, allocations: 15.97 kB / 0.6009 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1708, allocations: 0 / 0.6009 GB, free: 3.973 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.1708, allocations: 113.8 kB / 0.6011 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1709, allocations: 0 / 0.6011 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1711, allocations: 88.72 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1711, allocations: 0 / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1711, allocations: 4 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1711, allocations: 0 / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1713, allocations: 165.5 kB / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1713, allocations: 0 / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.1714, allocations: 11.98 kB / 0.6013 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1714, allocations: 4.031 kB / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1714, allocations: 0 / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1714, allocations: 0 / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1714, allocations: 4 kB / 0.6013 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1716, allocations: 179.4 kB / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.1717, allocations: 77.11 kB / 0.6016 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1717, allocations: 3.938 kB / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1718, allocations: 11.98 kB / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1718, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1718, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.1719, allocations: 87.53 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 4.031 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1721, allocations: 12 kB / 0.6017 GB, free: 3.125 MB / 0.4981 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 (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.0005107/0.1726, allocations: 0.7163 MB / 0.6024 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1728, allocations: 47.91 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1728, allocations: 3.938 kB / 0.6024 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.1729, allocations: 32.06 kB / 0.6025 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1732, allocations: 4 kB / 0.6025 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1735, allocations: 146.3 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1738, allocations: 0.677 MB / 0.6033 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1738, allocations: 8.062 kB / 0.6033 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.1739, allocations: 7.438 kB / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1739, allocations: 0 / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.1843, allocations: 1.184 MB / 0.6044 GB, free: 352 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.1845, allocations: 205.6 kB / 0.6046 GB, free: 100 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.817, allocations: 0 / 0.6046 GB, free: 100 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: