Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001608/0.001607, allocations: 108 kB / 15.61 MB, free: 148 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.001454/0.001455, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8744/0.8744, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.83 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1376, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00236/0.14, allocations: 1.426 MB / 0.5859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.1407, allocations: 469.4 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.1407, allocations: 0 / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1408, allocations: 3.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.1408, allocations: 11.92 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.141, allocations: 19.97 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.1411, allocations: 23.88 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.1412, allocations: 11.98 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.1412, allocations: 11.94 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.1413, allocations: 15.92 kB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.1413, allocations: 0 / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.1413, allocations: 23.97 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1414, allocations: 0 / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1414, allocations: 15.92 kB / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.555e-05/0.1415, allocations: 31.91 kB / 0.5865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1415, allocations: 0 / 0.5865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1415, allocations: 0 / 0.5865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1415, allocations: 0 / 0.5865 GB, free: 2.379 MB / 494.1 MB 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.0003742/0.1419, allocations: 347.7 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1419, allocations: 8.031 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.142, allocations: 30.75 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.142, allocations: 8.875 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1421, allocations: 172.3 kB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1421, allocations: 384 / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1421, allocations: 4.375 kB / 0.587 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1423, allocations: 57.8 kB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.1423, allocations: 0 / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1423, allocations: 0 / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.1423, allocations: 0 / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1425, allocations: 35.97 kB / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.1428, allocations: 252.8 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1429, allocations: 38.56 kB / 0.5874 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.143, allocations: 20.91 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1431, allocations: 85.09 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1431, allocations: 34.56 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1431, allocations: 0 / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.1434, allocations: 85.58 kB / 0.5876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1435, allocations: 55.41 kB / 0.5877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.1436, allocations: 101.8 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1436, allocations: 29.7 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.1436, allocations: 84.14 kB / 0.5879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1436, allocations: 7.844 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1437, allocations: 13.72 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.1438, allocations: 330.8 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1439, allocations: 11.98 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.1439, allocations: 15.98 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1441, allocations: 36.83 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1441, allocations: 0 / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1443, allocations: 77.56 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1443, allocations: 4 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1443, allocations: 0 / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1443, allocations: 7.984 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.1444, allocations: 11.98 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1444, allocations: 0 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1445, allocations: 7.984 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1445, allocations: 256 / 0.5884 GB, free: 196 kB / 494.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 (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 5.695e-05/0.1445, allocations: 117.8 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1446, allocations: 0 / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1448, allocations: 80.72 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1448, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1448, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1448, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.145, allocations: 161.6 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.145, allocations: 4.031 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.145, allocations: 11.98 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.145, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1451, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1451, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1451, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1453, allocations: 167.5 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.1453, allocations: 85.02 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1454, allocations: 0 / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1454, allocations: 7.984 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1455, allocations: 3.938 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1455, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.1455, allocations: 87.22 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002067/0.1457, allocations: 8 kB / 0.5891 GB, free: 15.37 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.0004767/0.1462, allocations: 0.7007 MB / 0.5898 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1464, allocations: 36 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1464, allocations: 0 / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.1465, allocations: 27.91 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1468, allocations: 7.938 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.1472, allocations: 143.1 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1474, allocations: 0.6808 MB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.1474, allocations: 0 / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1474, allocations: 11.44 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1474, allocations: 0 / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/1.314, allocations: 1.392 MB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/9.115, allocations: 8 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)