Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.000806/0.0008059, allocations: 86.41 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.0009122/0.0009121, 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9525/0.9525, allocations: 135.3 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 82.32 MB / 0.5875 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007587/0.1498, allocations: 311.1 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1512, allocations: 1.071 MB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.1512, allocations: 0 / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.488e-06/0.1513, allocations: 0 / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1515, allocations: 19.92 kB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.1515, allocations: 4 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.272e-05/0.1515, allocations: 4 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1516, allocations: 3.984 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.432e-05/0.1516, allocations: 3.938 kB / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.696e-05/0.1516, allocations: 4 kB / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.1517, allocations: 0 / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1518, allocations: 15.98 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-06/0.1518, allocations: 3.938 kB / 0.5889 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1518, allocations: 25.7 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.529e-05/0.1519, allocations: 11.97 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1519, allocations: 4 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1519, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1519, allocations: 0 / 0.5889 GB, free: 1.363 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.0002269/0.1521, allocations: 315.4 kB / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1522, allocations: 12.02 kB / 0.5892 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1522, allocations: 30.56 kB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1522, allocations: 7.906 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.1523, allocations: 167 kB / 0.5894 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1524, allocations: 0 / 0.5894 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1524, allocations: 0 / 0.5894 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.1525, allocations: 45.62 kB / 0.5895 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1525, allocations: 0 / 0.5895 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1525, allocations: 4 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1525, allocations: 0 / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.1526, allocations: 4 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1527, allocations: 153.6 kB / 0.5896 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1529, allocations: 38.55 kB / 0.5897 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.1529, allocations: 12.86 kB / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.1531, allocations: 81.11 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1531, allocations: 38.58 kB / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1531, allocations: 3.938 kB / 0.5898 GB, free: 284 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.003628/0.1568, allocations: 0.5644 MB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1568, allocations: 55.39 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.1569, allocations: 89.86 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1569, allocations: 29.7 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.1569, allocations: 84.14 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.157, allocations: 11.81 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.157, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.1571, allocations: 314.8 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.1576, allocations: 83.95 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.1581, allocations: 106.5 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1586, allocations: 87.91 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1586, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001056/0.1597, allocations: 217.5 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1597, allocations: 8 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1597, allocations: 0 / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1598, allocations: 3.984 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1601, allocations: 55.94 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1601, allocations: 0 / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.1604, allocations: 39.98 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1604, allocations: 0 / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 8.824e-05/0.1605, allocations: 117.8 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.1606, allocations: 0 / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1618, allocations: 237.1 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1618, allocations: 4 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1618, allocations: 3.938 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1618, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.1631, allocations: 450.7 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1631, allocations: 64 / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1635, allocations: 51.97 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1635, allocations: 0 / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1635, allocations: 4 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1635, allocations: 11.88 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1635, allocations: 0 / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1646, allocations: 303.4 kB / 0.5926 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1647, allocations: 85.02 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1647, allocations: 0 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.165, allocations: 39.97 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.165, allocations: 4 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.165, allocations: 0 / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.1651, allocations: 83.31 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1651, allocations: 0 / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002664/0.1653, allocations: 19.94 kB / 0.5928 GB, free: 13 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 (5): * Single equations (assignments): 5 * 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.001393/0.1667, allocations: 0.8412 MB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.1678, allocations: 176 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1678, allocations: 0 / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.1683, allocations: 92.02 kB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1685, allocations: 4 kB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1697, allocations: 252.3 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1699, allocations: 0.6809 MB / 0.5948 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.1701, allocations: 28 kB / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.1702, allocations: 11.44 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1702, allocations: 0 / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.1814, allocations: 1.44 MB / 0.5963 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.1816, allocations: 198.6 kB / 0.5965 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.746, allocations: 3.938 kB / 0.5965 GB, free: 9.328 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: