Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006905/0.006906, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0016/0.0016, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.433, allocations: 80.91 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00151/0.4345, allocations: 0.5923 MB / 0.6653 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003031/0.4348, allocations: 75.28 kB / 0.6653 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.4349, allocations: 1.375 kB / 0.6653 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.4349, allocations: 3.938 kB / 0.6653 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.435, allocations: 11.14 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.4352, allocations: 45.2 kB / 0.6654 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.4353, allocations: 24.78 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.4354, allocations: 6.734 kB / 0.6654 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.4354, allocations: 10.62 kB / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4356, allocations: 67.41 kB / 0.6655 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.4356, allocations: 1.062 kB / 0.6655 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.4357, allocations: 36.97 kB / 0.6655 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.4357, allocations: 20.59 kB / 0.6656 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.4358, allocations: 22.16 kB / 0.6656 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.4359, allocations: 69.84 kB / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4359, allocations: 5.062 kB / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4359, allocations: 0 / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4359, allocations: 3.938 kB / 0.6656 GB, free: 6.922 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002637/0.4362, allocations: 363.5 kB / 0.666 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4362, allocations: 9 kB / 0.666 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.4362, allocations: 8.5 kB / 0.666 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.695e-05/0.4363, allocations: 162.5 kB / 0.6662 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.4363, allocations: 1.094 kB / 0.6662 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4363, allocations: 15.64 kB / 0.6662 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4366, allocations: 179.3 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4366, allocations: 0 / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4366, allocations: 2.812 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.4366, allocations: 23.05 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.4367, allocations: 43.97 kB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4371, allocations: 0.9123 MB / 0.6673 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.4372, allocations: 166.6 kB / 0.6675 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.4372, allocations: 80.14 kB / 0.6675 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.4372, allocations: 75.28 kB / 0.6676 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4373, allocations: 116.5 kB / 0.6677 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4373, allocations: 4 kB / 0.6677 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.778e-05/0.4373, allocations: 34.34 kB / 0.6678 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.4374, allocations: 385.9 kB / 0.6681 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4375, allocations: 168.1 kB / 0.6683 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4375, allocations: 27.14 kB / 0.6683 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.4376, allocations: 148.4 kB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.4376, allocations: 9.234 kB / 0.6685 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.4377, allocations: 48.33 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.4377, allocations: 325.5 kB / 0.6688 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.4378, allocations: 28.53 kB / 0.6689 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4379, allocations: 222.7 kB / 0.6691 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.438, allocations: 201 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.438, allocations: 1.219 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002609/0.4383, allocations: 195.6 kB / 0.6694 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4383, allocations: 7.344 kB / 0.6695 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4383, allocations: 5.25 kB / 0.6695 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4384, allocations: 9.688 kB / 0.6695 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4385, allocations: 43.48 kB / 0.6695 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4385, allocations: 6.688 kB / 0.6695 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.4386, allocations: 34.42 kB / 0.6695 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4386, allocations: 14.03 kB / 0.6696 GB, free: 2.988 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.651e-05/0.4387, allocations: 209.7 kB / 0.6698 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.4387, allocations: 119.1 kB / 0.6699 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.4388, allocations: 108.7 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.4388, allocations: 189.7 kB / 0.6702 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.4388, allocations: 185.8 kB / 0.6703 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.4388, allocations: 180.2 kB / 0.6705 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.439, allocations: 416.7 kB / 0.6709 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.439, allocations: 101 kB / 0.671 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.439, allocations: 122.8 kB / 0.6711 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.439, allocations: 181.7 kB / 0.6713 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.4391, allocations: 180.2 kB / 0.6715 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-05/0.4391, allocations: 181.4 kB / 0.6716 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.172e-05/0.4391, allocations: 177.5 kB / 0.6718 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.936e-05/0.4392, allocations: 319.4 kB / 0.6721 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.4392, allocations: 184.8 kB / 0.6723 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.4393, allocations: 179 kB / 0.6725 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.4394, allocations: 115.9 kB / 0.6726 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.4395, allocations: 181.6 kB / 0.6727 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.4395, allocations: 102.1 kB / 0.6728 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.452e-05/0.4396, allocations: 119.6 kB / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4396, allocations: 0 / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003015/0.4399, allocations: 25.94 kB / 0.673 GB, free: 15.37 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0001835/0.4401, allocations: 184.1 kB / 0.6732 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.4403, allocations: 80.33 kB / 0.6732 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4403, allocations: 5.406 kB / 0.6732 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.4403, allocations: 1.219 kB / 0.6732 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.4407, allocations: 465.1 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.441, allocations: 240.7 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.4412, allocations: 0.6979 MB / 0.6746 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.4414, allocations: 55.44 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.4414, allocations: 14.75 kB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4414, allocations: 4 kB / 0.6747 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.004215/0.4456, allocations: 1.682 MB / 0.6763 GB, free: 12.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)