Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_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.0008908/0.0008909, allocations: 84.38 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.0009597/0.0009598, 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.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8234/0.8234, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 9 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.453, allocations: 81.58 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001724/0.4548, allocations: 1.175 MB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.4552, allocations: 134.4 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.4552, allocations: 3.938 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.4553, allocations: 0.7031 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.4554, allocations: 2.094 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.4556, allocations: 26.61 kB / 0.5845 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.4557, allocations: 36.52 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4558, allocations: 22.86 kB / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.4559, allocations: 10.78 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.4559, allocations: 15.92 kB / 0.5845 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.456, allocations: 2.562 kB / 0.5845 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.4561, allocations: 25.44 kB / 0.5846 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.4561, allocations: 10.33 kB / 0.5846 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.4561, allocations: 28.86 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.4562, allocations: 51.45 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4563, allocations: 0.75 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4563, allocations: 1.156 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.4563, allocations: 0 / 0.5847 GB, free: 2.93 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.0004553/0.4567, allocations: 355.9 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4568, allocations: 9.469 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.4568, allocations: 37.94 kB / 0.585 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.458, allocations: 247.3 kB / 0.5853 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.4581, allocations: 171.5 kB / 0.5854 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4581, allocations: 1.062 kB / 0.5854 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4582, allocations: 2.906 kB / 0.5854 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.4588, allocations: 211.3 kB / 0.5856 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.4588, allocations: 0.9062 kB / 0.5856 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4588, allocations: 0.7031 kB / 0.5856 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4588, allocations: 1.125 kB / 0.5857 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.4597, allocations: 319.2 kB / 0.586 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.4607, allocations: 468.7 kB / 0.5864 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4618, allocations: 344.4 kB / 0.5867 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.4622, allocations: 121.7 kB / 0.5868 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4622, allocations: 1.484 kB / 0.5868 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4622, allocations: 31.73 kB / 0.5869 GB, free: 1.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.4622, allocations: 0.8125 kB / 0.5869 GB, free: 1.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001178/0.4634, allocations: 372.3 kB / 0.5872 GB, free: 1.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.4635, allocations: 56.97 kB / 0.5873 GB, free: 1.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.4636, allocations: 118.1 kB / 0.5874 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4636, allocations: 26.3 kB / 0.5874 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.4636, allocations: 92.06 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.4636, allocations: 6.438 kB / 0.5875 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4637, allocations: 3.938 kB / 0.5875 GB, free: 1.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.4637, allocations: 318 kB / 0.5878 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.4641, allocations: 113 kB / 0.5879 GB, free: 1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.4645, allocations: 113.2 kB / 0.588 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.4648, allocations: 103 kB / 0.5881 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4649, allocations: 0 / 0.5881 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007501/0.4656, allocations: 265.2 kB / 0.5884 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4656, allocations: 5.188 kB / 0.5884 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4656, allocations: 1.469 kB / 0.5884 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4657, allocations: 336 / 0.5884 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.4659, allocations: 45.41 kB / 0.5884 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4659, allocations: 2.516 kB / 0.5884 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4661, allocations: 34.97 kB / 0.5885 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4662, allocations: 5.828 kB / 0.5885 GB, free: 0.8828 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 7.993e-05/0.4663, allocations: 126.2 kB / 0.5886 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.4663, allocations: 9.672 kB / 0.5886 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.4663, allocations: 16.52 kB / 0.5886 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4663, allocations: 0 / 0.5886 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4664, allocations: 1.188 kB / 0.5886 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4664, allocations: 0.7031 kB / 0.5886 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.4666, allocations: 208.8 kB / 0.5888 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4666, allocations: 0 / 0.5888 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4668, allocations: 45.19 kB / 0.5889 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4668, allocations: 5.328 kB / 0.5889 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4669, allocations: 1.172 kB / 0.5889 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4669, allocations: 1.375 kB / 0.5889 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4669, allocations: 4.453 kB / 0.5889 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.4676, allocations: 345.3 kB / 0.5892 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.4677, allocations: 84.2 kB / 0.5893 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4677, allocations: 4.797 kB / 0.5893 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.468, allocations: 40.56 kB / 0.5893 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.468, allocations: 10.14 kB / 0.5893 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.468, allocations: 1.656 kB / 0.5894 GB, free: 244 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.4681, allocations: 93.75 kB / 0.5894 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4681, allocations: 3.938 kB / 0.5894 GB, free: 160 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.4683, allocations: 12.03 kB / 0.5895 GB, free: 160 kB / 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.001105/0.4694, allocations: 0.8774 MB / 0.5903 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.4703, allocations: 234.2 kB / 0.5905 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4703, allocations: 5.156 kB / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.4707, allocations: 116.7 kB / 0.5907 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4709, allocations: 17.66 kB / 0.5907 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.4734, allocations: 0.8988 MB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4737, allocations: 0.6953 MB / 0.5922 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.794e-05/0.4738, allocations: 20.62 kB / 0.5922 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.4739, allocations: 15.8 kB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4739, allocations: 0 / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.4866, allocations: 1.632 MB / 0.5939 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.4868, allocations: 160.7 kB / 0.594 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.238, allocations: 4.969 kB / 0.594 GB, free: 13.73 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: