Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 109.3 kB / 16.41 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.001155/0.001155, allocations: 189.5 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7288/0.7288, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 68.05 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002501/0.1305, allocations: 1.769 MB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.1314, allocations: 0.6709 MB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.1315, allocations: 0 / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.1315, allocations: 7.875 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.1316, allocations: 19.8 kB / 0.6677 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.1321, allocations: 163.3 kB / 0.6679 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1322, allocations: 123.6 kB / 0.668 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1324, allocations: 56.83 kB / 0.6681 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1325, allocations: 67.77 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.1326, allocations: 51.75 kB / 0.6682 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1326, allocations: 12 kB / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.1327, allocations: 43.97 kB / 0.6682 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1328, allocations: 27.91 kB / 0.6682 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1328, allocations: 59.72 kB / 0.6683 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.133, allocations: 147.5 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.133, allocations: 0 / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.133, allocations: 0 / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.133, allocations: 0 / 0.6684 GB, free: 2.559 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000536/0.1336, allocations: 427.1 kB / 0.6689 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1336, allocations: 9.109 kB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.1344, allocations: 116.6 kB / 0.669 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1346, allocations: 190 kB / 0.6692 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.1347, allocations: 67.95 kB / 0.6692 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1347, allocations: 4.375 kB / 0.6692 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.1353, allocations: 177.6 kB / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1353, allocations: 0 / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1354, allocations: 7.938 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1354, allocations: 0 / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.1361, allocations: 163.8 kB / 0.6696 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1371, allocations: 473.7 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/0.1381, allocations: 218.3 kB / 0.6702 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.1384, allocations: 88.89 kB / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1385, allocations: 3.984 kB / 0.6703 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1385, allocations: 34.56 kB / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1385, allocations: 0 / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009974/0.1395, allocations: 265.3 kB / 0.6706 GB, free: 184 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1396, allocations: 55.39 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1397, allocations: 137.8 kB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1397, allocations: 33.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1398, allocations: 108.2 kB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.1398, allocations: 23.75 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.1399, allocations: 21.7 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.14, allocations: 322.8 kB / 0.6713 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.1403, allocations: 71.92 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1406, allocations: 98.48 kB / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.1411, allocations: 166.6 kB / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1412, allocations: 4 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006414/0.1418, allocations: 197.4 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1418, allocations: 8.062 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1418, allocations: 0 / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1419, allocations: 7.938 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.1421, allocations: 31.95 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1421, allocations: 4 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1423, allocations: 31.86 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1423, allocations: 4 kB / 0.6719 GB, free: 14.81 MB / 0.5137 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 (8): * Single equations (assignments): 8 * 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.761e-05/0.1424, allocations: 121.8 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1425, allocations: 11.84 kB / 0.672 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.1432, allocations: 206.2 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1432, allocations: 3.938 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1432, allocations: 0 / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1433, allocations: 89 kB / 0.6723 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1433, allocations: 0 / 0.6723 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1436, allocations: 31.95 kB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1436, allocations: 4 kB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000797/0.1444, allocations: 284.7 kB / 0.6726 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000677/0.1451, allocations: 366.5 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002971/0.1454, allocations: 79.91 kB / 0.673 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.1455, allocations: 105.7 kB / 0.6731 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Backend: time 2.81e-07/0.1455, allocations: 0 / 0.6731 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006767/0.1462, allocations: 176.4 kB / 0.6733 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of SimCode: time 0.000545/0.1467, allocations: 0.6492 MB / 0.6739 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.004638/0.1514, allocations: 2.266 MB / 0.6761 GB, free: 10.34 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)