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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001308/0.001308, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.192/1.192, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7182/0.7182, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 68.42 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1175, allocations: 80.92 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001473/0.119, allocations: 0.5798 MB / 0.6659 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1201, allocations: 1.111 MB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.1201, allocations: 0 / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.1202, allocations: 3.938 kB / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1204, allocations: 19.92 kB / 0.667 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.1204, allocations: 11.94 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.155e-05/0.1204, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.1204, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.1205, allocations: 4 kB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.909e-05/0.1205, allocations: 7.969 kB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.1205, allocations: 0 / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.1206, allocations: 23.92 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-06/0.1206, allocations: 0 / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.116e-05/0.1206, allocations: 3.938 kB / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.989e-05/0.1207, allocations: 15.97 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1207, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1207, allocations: 4 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.1207, allocations: 0 / 0.6671 GB, free: 3.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002135/0.1209, allocations: 319.6 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.121, allocations: 13.05 kB / 0.6674 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.121, allocations: 4.938 kB / 0.6674 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.1211, allocations: 164.3 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1211, allocations: 384 / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1211, allocations: 384 / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.1212, allocations: 42 kB / 0.6676 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1212, allocations: 4 kB / 0.6676 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1212, allocations: 4 kB / 0.6676 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1212, allocations: 0 / 0.6676 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.1212, allocations: 4 kB / 0.6676 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.1214, allocations: 149.7 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1215, allocations: 42.48 kB / 0.6678 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.1215, allocations: 8.859 kB / 0.6678 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.1217, allocations: 85.11 kB / 0.6679 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1217, allocations: 34.5 kB / 0.6679 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1217, allocations: 0 / 0.6679 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003945/0.1256, allocations: 0.5796 MB / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.1257, allocations: 51.41 kB / 0.6685 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.952e-05/0.1257, allocations: 93.84 kB / 0.6686 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1257, allocations: 25.7 kB / 0.6687 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1258, allocations: 88.14 kB / 0.6687 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1258, allocations: 11.81 kB / 0.6688 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.1259, allocations: 17.72 kB / 0.6688 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.1259, allocations: 314.8 kB / 0.6691 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.1265, allocations: 87.95 kB / 0.6692 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.1271, allocations: 98.53 kB / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1282, allocations: 194.4 kB / 0.6694 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1282, allocations: 0 / 0.6694 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001198/0.1294, allocations: 213.6 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1295, allocations: 11.94 kB / 0.6696 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1295, allocations: 0 / 0.6696 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1295, allocations: 0 / 0.6696 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.1299, allocations: 52 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1299, allocations: 3.938 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.1302, allocations: 43.98 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1302, allocations: 4.172 kB / 0.6697 GB, free: 0.9766 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 7.513e-05/0.1303, allocations: 111.2 kB / 0.6699 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.1303, allocations: 3.938 kB / 0.6699 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1316, allocations: 245.1 kB / 0.6701 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1316, allocations: 0 / 0.6701 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1316, allocations: 0 / 0.6701 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.1316, allocations: 77.11 kB / 0.6702 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1317, allocations: 3.938 kB / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.132, allocations: 43.97 kB / 0.6702 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.132, allocations: 3.938 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001464/0.1335, allocations: 324.8 kB / 0.6705 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.1347, allocations: 382.6 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005513/0.1353, allocations: 95.89 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.1353, allocations: 79.22 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Backend: time 2.7e-07/0.1353, allocations: 0 / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009175/0.1362, allocations: 182.3 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0003337/0.1366, allocations: 0.5448 MB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.002953/0.1395, allocations: 1.361 MB / 0.6731 GB, free: 13.43 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)