Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001337/0.001337, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.41 kB / 0.5821 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1323, allocations: 80.21 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001636/0.134, allocations: 0.5791 MB / 0.661 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.1342, allocations: 35.88 kB / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1343, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1343, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.1343, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1345, allocations: 11.98 kB / 0.661 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.1346, allocations: 4 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1346, allocations: 11.98 kB / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.1347, allocations: 7.938 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.1347, allocations: 0 / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1347, allocations: 0 / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.1348, allocations: 23.92 kB / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.1348, allocations: 7.984 kB / 0.661 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1349, allocations: 3.938 kB / 0.6611 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.135, allocations: 23.92 kB / 0.6611 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.135, allocations: 7.922 kB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.135, allocations: 0 / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.135, allocations: 0 / 0.6611 GB, free: 9.484 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003132/0.1353, allocations: 349.3 kB / 0.6614 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1353, allocations: 8.031 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1354, allocations: 8.922 kB / 0.6614 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.1355, allocations: 166.9 kB / 0.6616 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1355, allocations: 384 / 0.6616 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1355, allocations: 384 / 0.6616 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1356, allocations: 58.23 kB / 0.6616 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1356, allocations: 4.188 kB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1357, allocations: 3.938 kB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.1357, allocations: 7.938 kB / 0.6617 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.1357, allocations: 27.98 kB / 0.6617 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.1361, allocations: 264.8 kB / 0.6619 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.1361, allocations: 18.58 kB / 0.662 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.1361, allocations: 8.922 kB / 0.662 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.1361, allocations: 3.984 kB / 0.662 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1362, allocations: 34.5 kB / 0.662 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.335e-06/0.1362, allocations: 7.984 kB / 0.662 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1363, allocations: 67.31 kB / 0.6621 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1364, allocations: 81.11 kB / 0.6622 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.1365, allocations: 117.8 kB / 0.6623 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1365, allocations: 25.7 kB / 0.6623 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1365, allocations: 103.8 kB / 0.6624 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.1365, allocations: 3.938 kB / 0.6624 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1366, allocations: 29.73 kB / 0.6624 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.1367, allocations: 323.1 kB / 0.6627 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.1367, allocations: 11.98 kB / 0.6627 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.1368, allocations: 58.81 kB / 0.6628 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.1369, allocations: 130.2 kB / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1369, allocations: 0 / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001419/0.137, allocations: 127.2 kB / 0.663 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.1371, allocations: 29.7 kB / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1371, allocations: 4 kB / 0.6631 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1371, allocations: 0 / 0.6631 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.1372, allocations: 15.94 kB / 0.6631 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1372, allocations: 0 / 0.6631 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.1372, allocations: 23.83 kB / 0.6631 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1373, allocations: 8.25 kB / 0.6631 GB, free: 7.082 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.183e-05/0.1374, allocations: 140.4 kB / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1374, allocations: 4 kB / 0.6633 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.1374, allocations: 11.47 kB / 0.6633 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1374, allocations: 0 / 0.6633 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1374, allocations: 0 / 0.6633 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.1375, allocations: 85.09 kB / 0.6634 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1375, allocations: 3.938 kB / 0.6634 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.1375, allocations: 0 / 0.6634 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.1376, allocations: 4 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001208/0.1377, allocations: 202.1 kB / 0.6636 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001339/0.1378, allocations: 236.5 kB / 0.6638 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.86e-05/0.1379, allocations: 7.984 kB / 0.6638 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.1379, allocations: 83.22 kB / 0.6639 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of Backend: time 2.6e-07/0.1379, allocations: 12 kB / 0.6639 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.1383, allocations: 166.2 kB / 0.664 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003817/0.1387, allocations: 0.6144 MB / 0.6646 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of Templates: time 0.002923/0.1416, allocations: 0.539 MB / 0.6652 GB, free: 4.832 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)