Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.006129/0.006129, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00127/0.00127, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7695/0.7695, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 68.05 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4311, allocations: 80.2 MB / 0.6592 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003045/0.4342, allocations: 1.465 MB / 0.6606 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4353, allocations: 0.556 MB / 0.6612 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.4354, allocations: 1.219 kB / 0.6612 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.4354, allocations: 4.688 kB / 0.6612 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.4355, allocations: 7.922 kB / 0.6612 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.4358, allocations: 51.03 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.4359, allocations: 33.22 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.436, allocations: 5.281 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.4361, allocations: 11.45 kB / 0.6613 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.4362, allocations: 11.03 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.4362, allocations: 2.375 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4363, allocations: 57.61 kB / 0.6613 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.4364, allocations: 10.5 kB / 0.6613 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.4364, allocations: 14.86 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.4366, allocations: 63.86 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4366, allocations: 0 / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4366, allocations: 0 / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.4366, allocations: 0 / 0.6614 GB, free: 8.438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000382/0.437, allocations: 350.3 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.437, allocations: 9.562 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.4371, allocations: 36.58 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.4371, allocations: 10.31 kB / 0.6618 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.231e-05/0.4372, allocations: 172.8 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4372, allocations: 1.781 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.4372, allocations: 5.906 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4374, allocations: 42.22 kB / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4374, allocations: 1.438 kB / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4374, allocations: 4 kB / 0.662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4374, allocations: 0 / 0.662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.844e-05/0.4375, allocations: 15.36 kB / 0.662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.4378, allocations: 266.9 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.4379, allocations: 30.33 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.438, allocations: 18.12 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.4387, allocations: 482.8 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4388, allocations: 32.66 kB / 0.6628 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4388, allocations: 0 / 0.6628 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.439, allocations: 65.92 kB / 0.6629 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4391, allocations: 51.41 kB / 0.6629 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.4391, allocations: 107.9 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.4392, allocations: 31.14 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.4392, allocations: 86.86 kB / 0.6632 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4392, allocations: 4.516 kB / 0.6632 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.4393, allocations: 17.86 kB / 0.6632 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.4393, allocations: 318.1 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.4394, allocations: 10.8 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.4394, allocations: 7.203 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.4395, allocations: 30 kB / 0.6635 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4395, allocations: 0 / 0.6635 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.4396, allocations: 55.73 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4396, allocations: 8.406 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4396, allocations: 4 kB / 0.6636 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4397, allocations: 0 / 0.6636 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.4397, allocations: 7.188 kB / 0.6636 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4397, allocations: 0 / 0.6636 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.4398, allocations: 15.73 kB / 0.6636 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4398, allocations: 0 / 0.6636 GB, free: 6.184 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.4399, allocations: 117.9 kB / 0.6637 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4399, allocations: 5.953 kB / 0.6637 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4401, allocations: 65.12 kB / 0.6638 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4401, allocations: 0 / 0.6638 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4401, allocations: 1.703 kB / 0.6638 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4401, allocations: 4.031 kB / 0.6638 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.4402, allocations: 163.2 kB / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4402, allocations: 0 / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.4403, allocations: 6.812 kB / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4403, allocations: 0 / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4403, allocations: 2.031 kB / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4403, allocations: 0 / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4403, allocations: 0 / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.4405, allocations: 155.7 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.4405, allocations: 82.84 kB / 0.6642 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.4405, allocations: 1.719 kB / 0.6642 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.4406, allocations: 2.078 kB / 0.6642 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.4406, allocations: 5.859 kB / 0.6642 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4406, allocations: 1.938 kB / 0.6642 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.4406, allocations: 92.78 kB / 0.6643 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4406, allocations: 0 / 0.6643 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002404/0.4409, allocations: 13.05 kB / 0.6643 GB, free: 5.477 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004138/0.4413, allocations: 0.6949 MB / 0.665 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.4415, allocations: 27.92 kB / 0.665 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4415, allocations: 4.094 kB / 0.665 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.4415, allocations: 14.56 kB / 0.665 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4417, allocations: 1.156 kB / 0.665 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.4422, allocations: 170.6 kB / 0.6652 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4423, allocations: 0.6786 MB / 0.6659 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.4423, allocations: 5.359 kB / 0.6659 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.4424, allocations: 14.12 kB / 0.6659 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.4424, allocations: 4.062 kB / 0.6659 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.4627, allocations: 1.61 MB / 0.6674 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.916, allocations: 5.922 kB / 0.6675 GB, free: 3.125 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)