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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7808/0.7808, allocations: 127.4 MB / 134.9 MB, free: 3.77 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.00113, allocations: 188.8 kB / 164.7 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009249, allocations: 86.42 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.792e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/0.6506, allocations: 102.3 MB / 0.7215 GB, free: 13.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.6509, allocations: 78.2 kB / 0.7216 GB, free: 13.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004036/0.655, allocations: 1.387 MB / 0.7229 GB, free: 11.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.655, allocations: 0 / 0.7229 GB, free: 11.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.655, allocations: 0 / 0.7229 GB, free: 11.84 MB / 490.7 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.0003921/0.6554, allocations: 349.7 kB / 0.7232 GB, free: 11.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6555, allocations: 12.03 kB / 0.7233 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.6555, allocations: 6.078 kB / 0.7233 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.6557, allocations: 174.3 kB / 0.7234 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.6557, allocations: 0 / 0.7234 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.6557, allocations: 0 / 0.7234 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.324e-05/0.6558, allocations: 10.62 kB / 0.7234 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.297e-05/0.6559, allocations: 33.08 kB / 0.7235 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.6559, allocations: 0 / 0.7235 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.6559, allocations: 0 / 0.7235 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6559, allocations: 0 / 0.7235 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.6563, allocations: 257.8 kB / 0.7237 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.813e-05/0.6564, allocations: 25.58 kB / 0.7237 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.6564, allocations: 11.42 kB / 0.7238 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/0.6565, allocations: 77.11 kB / 0.7238 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6566, allocations: 42.55 kB / 0.7239 GB, free: 10.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6566, allocations: 0 / 0.7239 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.6568, allocations: 36.64 kB / 0.7239 GB, free: 10.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.6568, allocations: 55.34 kB / 0.724 GB, free: 10.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.6569, allocations: 99.11 kB / 0.7241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6569, allocations: 25.7 kB / 0.7241 GB, free: 10.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.657, allocations: 91.62 kB / 0.7242 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.657, allocations: 3.906 kB / 0.7242 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.657, allocations: 4.031 kB / 0.7242 GB, free: 10.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6572, allocations: 315.1 kB / 0.7245 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.6572, allocations: 4 kB / 0.7245 GB, free: 10.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.6572, allocations: 7.562 kB / 0.7245 GB, free: 10.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.6572, allocations: 4 kB / 0.7245 GB, free: 10.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6572, allocations: 0 / 0.7245 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.82e-05/0.6573, allocations: 45.25 kB / 0.7245 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6574, allocations: 8 kB / 0.7245 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6574, allocations: 4.781 kB / 0.7245 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.6574, allocations: 3.938 kB / 0.7245 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.6575, allocations: 11.98 kB / 0.7246 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.6575, allocations: 0 / 0.7246 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.6576, allocations: 8 kB / 0.7246 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.6576, allocations: 4.203 kB / 0.7246 GB, free: 9.984 MB / 490.7 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 () * 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 9.619e-05/0.6577, allocations: 112.9 kB / 0.7247 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.082e-05/0.6578, allocations: 49.23 kB / 0.7247 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.6578, allocations: 4 kB / 0.7247 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.6579, allocations: 52.75 kB / 0.7248 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.6579, allocations: 0 / 0.7248 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6579, allocations: 3.953 kB / 0.7248 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6579, allocations: 0 / 0.7248 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.6581, allocations: 137.8 kB / 0.7249 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6581, allocations: 0 / 0.7249 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.6582, allocations: 16 kB / 0.7249 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6582, allocations: 0 / 0.7249 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.6582, allocations: 7.984 kB / 0.7249 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6582, allocations: 0 / 0.7249 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.6582, allocations: 0 / 0.7249 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.6584, allocations: 135.2 kB / 0.7251 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.6584, allocations: 81.02 kB / 0.7251 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.6584, allocations: 3.984 kB / 0.7251 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.6585, allocations: 12.03 kB / 0.7252 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.6586, allocations: 3.984 kB / 0.7252 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.6586, allocations: 3.984 kB / 0.7252 GB, free: 9.301 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.6586, allocations: 82.91 kB / 0.7252 GB, free: 9.223 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6586, allocations: 0 / 0.7252 GB, free: 9.223 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.6589, allocations: 19.94 kB / 0.7253 GB, free: 9.203 MB / 490.7 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 () * 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.0004872/0.6594, allocations: 0.6844 MB / 0.7259 GB, free: 8.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.6595, allocations: 15.69 kB / 0.7259 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6595, allocations: 0 / 0.7259 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.6595, allocations: 7.5 kB / 0.726 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.6597, allocations: 3.984 kB / 0.726 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.66, allocations: 105.4 kB / 0.7261 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6603, allocations: 0.6807 MB / 0.7267 GB, free: 7.637 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.6604, allocations: 0 / 0.7267 GB, free: 7.637 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.6604, allocations: 11.44 kB / 0.7267 GB, free: 7.625 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6604, allocations: 0 / 0.7267 GB, free: 7.625 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.6809, allocations: 0.8434 MB / 0.7276 GB, free: 6.793 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.6812, allocations: 156.2 kB / 0.7277 GB, free: 6.594 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.351, allocations: 0 / 0.7277 GB, free: 6.594 MB / 490.7 MB (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)