Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_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.007776/0.007776, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001777/0.001777, allocations: 197.7 kB / 16.68 MB, free: 5.961 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8143/0.8143, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.59 kB / 0.5851 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1444, allocations: 80.92 MB / 0.6642 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002883/0.1474, allocations: 1.458 MB / 0.6656 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.1478, allocations: 144.4 kB / 0.6657 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1478, allocations: 0 / 0.6657 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.1479, allocations: 3.938 kB / 0.6657 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.148, allocations: 11.92 kB / 0.6657 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1482, allocations: 35.89 kB / 0.6658 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.1483, allocations: 39.86 kB / 0.6658 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1484, allocations: 23.98 kB / 0.6658 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.1485, allocations: 8 kB / 0.6658 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.1485, allocations: 31.84 kB / 0.6659 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1485, allocations: 4 kB / 0.6659 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.1486, allocations: 31.97 kB / 0.6659 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1487, allocations: 11.98 kB / 0.6659 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1487, allocations: 15.88 kB / 0.6659 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1488, allocations: 63.84 kB / 0.666 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1489, allocations: 7.938 kB / 0.666 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1489, allocations: 0 / 0.666 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1489, allocations: 0 / 0.666 GB, free: 4.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004447/0.1493, allocations: 355.1 kB / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1494, allocations: 13.11 kB / 0.6664 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1494, allocations: 38.73 kB / 0.6664 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.1505, allocations: 204.5 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1506, allocations: 180.2 kB / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1506, allocations: 8.375 kB / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1507, allocations: 4.375 kB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.1512, allocations: 190 kB / 0.667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1512, allocations: 3.938 kB / 0.667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1513, allocations: 4 kB / 0.667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1513, allocations: 0 / 0.667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.1521, allocations: 279.6 kB / 0.6672 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.1531, allocations: 444.9 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1542, allocations: 290.2 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.1546, allocations: 100.8 kB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1546, allocations: 0 / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1546, allocations: 34.56 kB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1546, allocations: 3.938 kB / 0.6681 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001213/0.1558, allocations: 309.2 kB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1559, allocations: 51.41 kB / 0.6684 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.156, allocations: 125.8 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.156, allocations: 25.7 kB / 0.6685 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1561, allocations: 100.1 kB / 0.6686 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1561, allocations: 3.906 kB / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.1562, allocations: 13.72 kB / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1563, allocations: 326.8 kB / 0.669 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.1567, allocations: 95.81 kB / 0.6691 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.157, allocations: 95.88 kB / 0.6692 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.1577, allocations: 180.6 kB / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1577, allocations: 0 / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007675/0.1585, allocations: 213.4 kB / 0.6695 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1585, allocations: 4 kB / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1585, allocations: 0 / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1586, allocations: 4 kB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1588, allocations: 31.95 kB / 0.6696 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1588, allocations: 0 / 0.6696 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.159, allocations: 35.94 kB / 0.6696 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1591, allocations: 0 / 0.6696 GB, free: 0.5781 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 (3): * Single equations (assignments): 3 * 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 9.812e-05/0.1592, allocations: 113.8 kB / 0.6697 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1592, allocations: 15.84 kB / 0.6697 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1593, allocations: 15.89 kB / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1593, allocations: 336 / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1593, allocations: 0 / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1593, allocations: 0 / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1595, allocations: 209.5 kB / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1595, allocations: 0 / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1598, allocations: 35.94 kB / 0.67 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1598, allocations: 4 kB / 0.67 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1598, allocations: 7.984 kB / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1598, allocations: 0 / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1598, allocations: 0 / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.1606, allocations: 311.2 kB / 0.6703 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1607, allocations: 81.02 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1607, allocations: 4 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1609, allocations: 27.95 kB / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.161, allocations: 7.984 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.161, allocations: 4.312 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.379e-05/0.1611, allocations: 95.2 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1611, allocations: 8 kB / 0.6705 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002344/0.1613, allocations: 15.94 kB / 0.6705 GB, free: 15.54 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.001072/0.1624, allocations: 0.8385 MB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007813/0.1632, allocations: 195.7 kB / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1632, allocations: 0 / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.1636, allocations: 103.9 kB / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1639, allocations: 8 kB / 0.6716 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.1674, allocations: 1.838 MB / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1677, allocations: 0.6924 MB / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.937e-05/0.1678, allocations: 19.98 kB / 0.6741 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1678, allocations: 19.42 kB / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1678, allocations: 0 / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1866, allocations: 1.983 MB / 0.6761 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.689, allocations: 4 kB / 0.6761 GB, free: 9.781 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)