Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4648/0.4648, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 95.44 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.828e-05, allocations: 8 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4481, allocations: 101.5 MB / 0.6595 GB, free: 2.793 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4485, allocations: 71.95 kB / 0.6595 GB, free: 2.723 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004155/0.4526, allocations: 1.362 MB / 0.6609 GB, free: 1.371 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4527, allocations: 0 / 0.6609 GB, free: 1.371 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4527, allocations: 0 / 0.6609 GB, free: 1.371 MB / 474.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.0003563/0.4531, allocations: 350.4 kB / 0.6612 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4531, allocations: 19.98 kB / 0.6612 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.4532, allocations: 42.42 kB / 0.6613 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.4532, allocations: 3.953 kB / 0.6613 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.4533, allocations: 171 kB / 0.6614 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4533, allocations: 0 / 0.6614 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4534, allocations: 0 / 0.6614 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.4535, allocations: 37.69 kB / 0.6615 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4535, allocations: 4 kB / 0.6615 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.4535, allocations: 0 / 0.6615 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4535, allocations: 0 / 0.6615 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.4535, allocations: 15.95 kB / 0.6615 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.454, allocations: 268.9 kB / 0.6617 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.454, allocations: 26.61 kB / 0.6618 GB, free: 300 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.4541, allocations: 8.922 kB / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.4541, allocations: 85.11 kB / 0.6618 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4542, allocations: 30.56 kB / 0.6619 GB, free: 144 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4542, allocations: 0 / 0.6619 GB, free: 144 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.4543, allocations: 53.5 kB / 0.6619 GB, free: 84 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4544, allocations: 59.39 kB / 0.662 GB, free: 12 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.4545, allocations: 89.88 kB / 0.6621 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4545, allocations: 25.7 kB / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.4545, allocations: 92.17 kB / 0.6622 GB, free: 15.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.4545, allocations: 3.906 kB / 0.6622 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.4546, allocations: 0 / 0.6622 GB, free: 15.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.4547, allocations: 314.8 kB / 0.6625 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.4547, allocations: 8 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.4547, allocations: 5.688 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.4547, allocations: 8 kB / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.4547, allocations: 0 / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.856e-05/0.4548, allocations: 41.77 kB / 0.6625 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4548, allocations: 9.094 kB / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4548, allocations: 0 / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.4549, allocations: 3.938 kB / 0.6626 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.4549, allocations: 19.92 kB / 0.6626 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.455, allocations: 0 / 0.6626 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.455, allocations: 13.48 kB / 0.6626 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.455, allocations: 3.938 kB / 0.6626 GB, free: 15.36 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 4.736e-05/0.4551, allocations: 105 kB / 0.6627 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.4551, allocations: 4 kB / 0.6627 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.4552, allocations: 48.81 kB / 0.6627 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4552, allocations: 0 / 0.6627 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4552, allocations: 3.953 kB / 0.6627 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4552, allocations: 0 / 0.6627 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4554, allocations: 161.7 kB / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4554, allocations: 1.031 kB / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.4555, allocations: 15.97 kB / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4555, allocations: 0 / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4555, allocations: 3.984 kB / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4555, allocations: 3.938 kB / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4555, allocations: 0 / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.4556, allocations: 139.4 kB / 0.6631 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.4556, allocations: 81.11 kB / 0.6631 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4557, allocations: 12.02 kB / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.4557, allocations: 4 kB / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.4558, allocations: 7.984 kB / 0.6632 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4558, allocations: 1.125 kB / 0.6632 GB, free: 14.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.235e-05/0.4558, allocations: 79.28 kB / 0.6632 GB, free: 14.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4558, allocations: 0 / 0.6632 GB, free: 14.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.456, allocations: 19.89 kB / 0.6633 GB, free: 14.59 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.0003773/0.4564, allocations: 0.6812 MB / 0.6639 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.4565, allocations: 16 kB / 0.6639 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4565, allocations: 0 / 0.6639 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.4566, allocations: 11.94 kB / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.4567, allocations: 0 / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.457, allocations: 114.6 kB / 0.6641 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.4572, allocations: 0.6779 MB / 0.6647 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.4572, allocations: 4 kB / 0.6647 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.4573, allocations: 11.44 kB / 0.6647 GB, free: 12.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4573, allocations: 0 / 0.6647 GB, free: 12.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.4686, allocations: 1.135 MB / 0.6658 GB, free: 12.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.4689, allocations: 159.1 kB / 0.666 GB, free: 11.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.321/1.79, allocations: 0 / 0.666 GB, free: 11.77 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)