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.00483/0.00483, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001307/0.001307, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7664/0.7664, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 72.92 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1366, allocations: 81.01 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002436/0.1391, allocations: 1.466 MB / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003614/0.1394, allocations: 144.4 kB / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1395, allocations: 0 / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.1395, allocations: 3.938 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.1396, allocations: 3.938 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1398, allocations: 39.89 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/0.1399, allocations: 39.91 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.14, allocations: 23.94 kB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1401, allocations: 11.98 kB / 0.6666 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.1401, allocations: 27.86 kB / 0.6666 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1401, allocations: 7.984 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.1402, allocations: 31.97 kB / 0.6666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1403, allocations: 8 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1403, allocations: 19.86 kB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1404, allocations: 64.08 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1404, allocations: 0 / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.796e-06/0.1404, allocations: 0 / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1405, allocations: 3.938 kB / 0.6667 GB, free: 3.723 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.0004588/0.1409, allocations: 363.2 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.141, allocations: 9.109 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.141, allocations: 38.75 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.142, allocations: 212.4 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1422, allocations: 172.3 kB / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1422, allocations: 4.375 kB / 0.6675 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1422, allocations: 4.375 kB / 0.6675 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.1428, allocations: 194 kB / 0.6677 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1428, allocations: 3.938 kB / 0.6677 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1428, allocations: 0 / 0.6677 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1428, allocations: 4 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.1437, allocations: 279.6 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.1445, allocations: 448.7 kB / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.1456, allocations: 290.2 kB / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.146, allocations: 104.7 kB / 0.6687 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.146, allocations: 0 / 0.6687 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1461, allocations: 42.48 kB / 0.6688 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1461, allocations: 0 / 0.6688 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001148/0.1472, allocations: 309.3 kB / 0.6691 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1473, allocations: 51.41 kB / 0.6691 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.1474, allocations: 117.8 kB / 0.6692 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1474, allocations: 29.7 kB / 0.6693 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.1475, allocations: 96.09 kB / 0.6694 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1475, allocations: 7.938 kB / 0.6694 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.1476, allocations: 13.72 kB / 0.6694 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1477, allocations: 322.8 kB / 0.6697 GB, free: 456 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.148, allocations: 95.88 kB / 0.6698 GB, free: 360 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.1484, allocations: 99.81 kB / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.1491, allocations: 176.6 kB / 0.67 GB, free: 80 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1491, allocations: 0 / 0.67 GB, free: 80 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007427/0.1498, allocations: 213.5 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1498, allocations: 4 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1499, allocations: 0 / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1499, allocations: 4 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1501, allocations: 39.94 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1501, allocations: 0 / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1503, allocations: 31.95 kB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1504, allocations: 0 / 0.6703 GB, free: 15.79 MB / 0.5137 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.198e-05/0.1505, allocations: 121.7 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1505, allocations: 11.95 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.1505, allocations: 7.906 kB / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1505, allocations: 4 kB / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1505, allocations: 0 / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.1506, allocations: 0 / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1508, allocations: 213.5 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1508, allocations: 0 / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.151, allocations: 32.31 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.151, allocations: 4 kB / 0.6707 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.151, allocations: 4 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1511, allocations: 0 / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1511, allocations: 3.938 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.1519, allocations: 315.2 kB / 0.671 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1519, allocations: 81.06 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1519, allocations: 4 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1522, allocations: 27.95 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1522, allocations: 3.938 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1522, allocations: 7.984 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.1523, allocations: 91.27 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1523, allocations: 4 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002196/0.1525, allocations: 15.94 kB / 0.6712 GB, free: 14.75 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.001079/0.1536, allocations: 0.8377 MB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.1544, allocations: 199.7 kB / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1544, allocations: 3.938 kB / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.1547, allocations: 104 kB / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.155, allocations: 0 / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.1584, allocations: 1.844 MB / 0.6741 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1587, allocations: 0.6885 MB / 0.6748 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.953e-05/0.1588, allocations: 24.23 kB / 0.6748 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1589, allocations: 11.44 kB / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1589, allocations: 0 / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.98/2.139, allocations: 1.961 MB / 0.6768 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/13.36, allocations: 7.062 kB / 0.6768 GB, free: 9.016 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)