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.0008631/0.0008632, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004993/0.004993, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 13 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 82.3 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005541/0.1237, allocations: 319.1 kB / 0.5884 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1248, allocations: 1.086 MB / 0.5895 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1248, allocations: 4 kB / 0.5895 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1248, allocations: 3.938 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.125, allocations: 11.98 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.014e-06/0.125, allocations: 0 / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.784e-05/0.125, allocations: 7.984 kB / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.1251, allocations: 0 / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.1251, allocations: 7.938 kB / 0.5895 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.763e-05/0.1251, allocations: 7.938 kB / 0.5895 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.1251, allocations: 0 / 0.5895 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.1252, allocations: 19.92 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-06/0.1252, allocations: 0 / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.1252, allocations: 29.69 kB / 0.5895 GB, free: 1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.761e-05/0.1253, allocations: 19.92 kB / 0.5896 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1253, allocations: 3.938 kB / 0.5896 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1253, allocations: 4 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.1253, allocations: 0 / 0.5896 GB, free: 0.9727 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.0001837/0.1255, allocations: 311.5 kB / 0.5899 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1255, allocations: 12.09 kB / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.1256, allocations: 34.75 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.521e-05/0.1256, allocations: 0.9375 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.121e-05/0.1257, allocations: 160.4 kB / 0.5901 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1257, allocations: 4.359 kB / 0.5901 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1257, allocations: 8.281 kB / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.1258, allocations: 33.83 kB / 0.5901 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1258, allocations: 4 kB / 0.5901 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-06/0.1258, allocations: 0 / 0.5901 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1258, allocations: 4 kB / 0.5901 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.1258, allocations: 11.92 kB / 0.5901 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.1259, allocations: 149.7 kB / 0.5903 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1261, allocations: 30.61 kB / 0.5903 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.1261, allocations: 12.84 kB / 0.5903 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.1262, allocations: 85.19 kB / 0.5904 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1263, allocations: 42.5 kB / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1263, allocations: 0 / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003976/0.1303, allocations: 0.5679 MB / 0.591 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1303, allocations: 51.41 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.541e-05/0.1303, allocations: 89.86 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1303, allocations: 25.7 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.1304, allocations: 84.08 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1304, allocations: 19.8 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1304, allocations: 13.66 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.1305, allocations: 314.8 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.1311, allocations: 83.95 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.1317, allocations: 102.5 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.1328, allocations: 190.4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1328, allocations: 4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00119/0.134, allocations: 221.4 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.134, allocations: 4 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1341, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.1341, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1344, allocations: 52 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1345, allocations: 3.938 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1348, allocations: 43.97 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1348, allocations: 4.188 kB / 0.5922 GB, free: 13.97 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.1349, allocations: 113.8 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1349, allocations: 3.938 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.1362, allocations: 241 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1362, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1362, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1362, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.1377, allocations: 458.4 kB / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1377, allocations: 0 / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.1381, allocations: 55.91 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1381, allocations: 0 / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1381, allocations: 3.984 kB / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1381, allocations: 0 / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1381, allocations: 0 / 0.5931 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1394, allocations: 315.4 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.1394, allocations: 81.02 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1394, allocations: 0 / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1398, allocations: 39.98 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.1398, allocations: 3.984 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1398, allocations: 4 kB / 0.5935 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.1398, allocations: 75.28 kB / 0.5936 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 0 / 0.5936 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002358/0.1401, allocations: 16 kB / 0.5936 GB, free: 12.48 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 (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.001445/0.1415, allocations: 0.8491 MB / 0.5944 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.1427, allocations: 179.9 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1427, allocations: 0 / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.1433, allocations: 92.08 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.1435, allocations: 7.656 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1447, allocations: 248.3 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.1448, allocations: 0.677 MB / 0.5956 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.1451, allocations: 24 kB / 0.5956 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.1451, allocations: 19.42 kB / 0.5956 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1451, allocations: 0 / 0.5956 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.864/1.009, allocations: 1.433 MB / 0.597 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.009, allocations: 215.8 kB / 0.5972 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.558, allocations: 0 / 0.5972 GB, free: 8.809 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/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)