Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0007619/0.000762, allocations: 86.25 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.0007877/0.0007877, 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.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.018/1.018, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1582, allocations: 83.42 MB / 0.5976 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005918/0.1589, allocations: 327 kB / 0.5979 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.1592, allocations: 151.7 kB / 0.598 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.1592, allocations: 0 / 0.598 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.1592, allocations: 0 / 0.598 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.123e-05/0.1592, allocations: 0 / 0.598 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1595, allocations: 27.98 kB / 0.598 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.589e-05/0.1595, allocations: 19.91 kB / 0.5981 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.1596, allocations: 4 kB / 0.5981 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.1596, allocations: 4 kB / 0.5981 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1596, allocations: 11.98 kB / 0.5981 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1597, allocations: 0 / 0.5981 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.1597, allocations: 27.97 kB / 0.5981 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1597, allocations: 11.92 kB / 0.5981 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1598, allocations: 29.7 kB / 0.5981 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.796e-05/0.1598, allocations: 11.97 kB / 0.5982 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1598, allocations: 3.938 kB / 0.5982 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1599, allocations: 0 / 0.5982 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.1599, allocations: 0 / 0.5982 GB, free: 7.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003153/0.1602, allocations: 331.4 kB / 0.5985 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1602, allocations: 12.03 kB / 0.5985 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1603, allocations: 30.56 kB / 0.5985 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.1603, allocations: 3.906 kB / 0.5985 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1604, allocations: 167.3 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1604, allocations: 0 / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1604, allocations: 4 kB / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.1605, allocations: 49.61 kB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1605, allocations: 4 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1606, allocations: 4 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1606, allocations: 0 / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.1606, allocations: 15.98 kB / 0.5988 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1607, allocations: 157.6 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.1608, allocations: 46.61 kB / 0.599 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.1609, allocations: 24.91 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.161, allocations: 85.11 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.161, allocations: 30.56 kB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.161, allocations: 0 / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001062/0.1621, allocations: 496.4 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1621, allocations: 51.41 kB / 0.5996 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.1622, allocations: 89.86 kB / 0.5997 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1622, allocations: 37.83 kB / 0.5997 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.1622, allocations: 80.14 kB / 0.5998 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1622, allocations: 27.64 kB / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1622, allocations: 0 / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.1623, allocations: 314.8 kB / 0.6001 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.1624, allocations: 15.98 kB / 0.6001 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.1624, allocations: 16 kB / 0.6002 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.1624, allocations: 16 kB / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1625, allocations: 0 / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.998e-05/0.1626, allocations: 81.52 kB / 0.6003 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1626, allocations: 4 kB / 0.6003 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1626, allocations: 0 / 0.6003 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1626, allocations: 0 / 0.6003 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.1627, allocations: 15.98 kB / 0.6003 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1627, allocations: 0 / 0.6003 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.1627, allocations: 4 kB / 0.6003 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1627, allocations: 0 / 0.6003 GB, free: 4.57 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 (8): * Single equations (assignments): 8 * 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.186e-05/0.1628, allocations: 121.7 kB / 0.6004 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-06/0.1628, allocations: 4 kB / 0.6004 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.163, allocations: 81.62 kB / 0.6005 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.163, allocations: 4 kB / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.163, allocations: 0 / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.163, allocations: 0 / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1631, allocations: 165.6 kB / 0.6006 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1631, allocations: 0 / 0.6006 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.1632, allocations: 23.92 kB / 0.6007 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1632, allocations: 0 / 0.6007 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1632, allocations: 0 / 0.6007 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1632, allocations: 4 kB / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1632, allocations: 4 kB / 0.6007 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1634, allocations: 113 kB / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.1635, allocations: 77.11 kB / 0.6009 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1635, allocations: 7.938 kB / 0.6009 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.1635, allocations: 4.031 kB / 0.6009 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.1635, allocations: 3.984 kB / 0.6009 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1636, allocations: 8.062 kB / 0.6009 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.488e-05/0.1636, allocations: 75.28 kB / 0.6009 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1636, allocations: 0 / 0.6009 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002129/0.1638, allocations: 32 kB / 0.601 GB, free: 3.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005018/0.1643, allocations: 0.6828 MB / 0.6016 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.1644, allocations: 44.39 kB / 0.6017 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1644, allocations: 0 / 0.6017 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.1645, allocations: 23.98 kB / 0.6017 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1646, allocations: 7.938 kB / 0.6017 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.1651, allocations: 414.9 kB / 0.6021 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1654, allocations: 0.6848 MB / 0.6028 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.1654, allocations: 8.172 kB / 0.6028 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1654, allocations: 15.44 kB / 0.6028 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1654, allocations: 0 / 0.6028 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1761, allocations: 1.616 MB / 0.6044 GB, free: 396 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.1763, allocations: 227.7 kB / 0.6046 GB, free: 144 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.83, allocations: 0 / 0.6046 GB, free: 144 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: