Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.0007086/0.0007087, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007292/0.0007292, allocations: 174.5 kB / 16.58 MB, free: 6.496 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.179/1.179, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6083/0.6083, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 12 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001253/0.1141, allocations: 1.165 MB / 0.558 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.1144, allocations: 132.5 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1144, allocations: 0 / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1144, allocations: 3.984 kB / 0.5582 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.1145, allocations: 7.938 kB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1146, allocations: 15.98 kB / 0.5582 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.1147, allocations: 47.84 kB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.1148, allocations: 15.98 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.1148, allocations: 7.984 kB / 0.5583 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.1149, allocations: 19.92 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.1149, allocations: 3.938 kB / 0.5583 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.115, allocations: 23.98 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.115, allocations: 15.92 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.115, allocations: 29.7 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.1151, allocations: 43.92 kB / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1151, allocations: 0 / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1151, allocations: 0 / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.207e-06/0.1151, allocations: 0 / 0.5584 GB, free: 10.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000356/0.1155, allocations: 355.5 kB / 0.5587 GB, free: 9.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1155, allocations: 12.03 kB / 0.5587 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1156, allocations: 38.56 kB / 0.5588 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.1165, allocations: 243.5 kB / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.1166, allocations: 171 kB / 0.5592 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.1166, allocations: 0 / 0.5592 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1166, allocations: 4 kB / 0.5592 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1171, allocations: 213.4 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1171, allocations: 0 / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1171, allocations: 8 kB / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1172, allocations: 0 / 0.5594 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.1179, allocations: 315.6 kB / 0.5597 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.1186, allocations: 465.1 kB / 0.5601 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.1195, allocations: 342.3 kB / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.1198, allocations: 116.7 kB / 0.5606 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1199, allocations: 0 / 0.5606 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1199, allocations: 38.5 kB / 0.5606 GB, free: 7.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1199, allocations: 0 / 0.5606 GB, free: 7.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009574/0.1209, allocations: 369.2 kB / 0.561 GB, free: 7.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1209, allocations: 51.41 kB / 0.561 GB, free: 7.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.121, allocations: 129.9 kB / 0.5611 GB, free: 7.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.121, allocations: 25.7 kB / 0.5612 GB, free: 7.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.121, allocations: 88.14 kB / 0.5612 GB, free: 6.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1211, allocations: 7.844 kB / 0.5612 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.1211, allocations: 0 / 0.5612 GB, free: 6.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.1212, allocations: 330.8 kB / 0.5616 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.1215, allocations: 111.9 kB / 0.5617 GB, free: 6.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1218, allocations: 116 kB / 0.5618 GB, free: 6.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1221, allocations: 99.97 kB / 0.5619 GB, free: 6.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1221, allocations: 0 / 0.5619 GB, free: 6.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006105/0.1227, allocations: 261.4 kB / 0.5621 GB, free: 6.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1227, allocations: 4 kB / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1227, allocations: 0 / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1227, allocations: 0 / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.123, allocations: 47.94 kB / 0.5622 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.123, allocations: 0 / 0.5622 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1231, allocations: 39.95 kB / 0.5622 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1232, allocations: 4 kB / 0.5622 GB, free: 5.965 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 (3): * Single equations (assignments): 3 * 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 6.683e-05/0.1232, allocations: 117.8 kB / 0.5623 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1233, allocations: 8 kB / 0.5623 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.1233, allocations: 7.906 kB / 0.5623 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1233, allocations: 4 kB / 0.5623 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1233, allocations: 0 / 0.5623 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1233, allocations: 3.938 kB / 0.5623 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1235, allocations: 217.5 kB / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1235, allocations: 0 / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.1237, allocations: 43.94 kB / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1237, allocations: 0 / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1238, allocations: 0 / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1238, allocations: 0 / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1238, allocations: 0 / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.1244, allocations: 347.3 kB / 0.5629 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1245, allocations: 89 kB / 0.563 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1245, allocations: 7.938 kB / 0.563 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1247, allocations: 40.33 kB / 0.5631 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.1247, allocations: 0 / 0.5631 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1247, allocations: 3.984 kB / 0.5631 GB, free: 4.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.1248, allocations: 103.1 kB / 0.5632 GB, free: 4.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1248, allocations: 4 kB / 0.5632 GB, free: 4.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.125, allocations: 12 kB / 0.5632 GB, free: 4.879 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 (3): * Single equations (assignments): 3 * 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.0008479/0.1259, allocations: 0.8731 MB / 0.564 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006344/0.1265, allocations: 231.7 kB / 0.5643 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1265, allocations: 4 kB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.1268, allocations: 119.8 kB / 0.5644 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.127, allocations: 10.19 kB / 0.5644 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1289, allocations: 0.9075 MB / 0.5653 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.1291, allocations: 0.6887 MB / 0.5659 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.1292, allocations: 19.98 kB / 0.566 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1293, allocations: 15.44 kB / 0.566 GB, free: 1.926 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1293, allocations: 0 / 0.566 GB, free: 1.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009683/0.139, allocations: 1.646 MB / 0.5676 GB, free: 424 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.1392, allocations: 173.6 kB / 0.5677 GB, free: 176 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.58, allocations: 0 / 0.5677 GB, free: 176 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: