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.007216/0.007216, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001728/0.001728, allocations: 204.1 kB / 16.68 MB, free: 6.375 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.5857 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4618, allocations: 80.91 MB / 0.6647 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001465/0.4633, allocations: 0.5953 MB / 0.6653 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.4636, allocations: 67.78 kB / 0.6653 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.4636, allocations: 5.094 kB / 0.6653 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.4636, allocations: 0 / 0.6653 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.4637, allocations: 12.05 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.464, allocations: 44.75 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.464, allocations: 28.92 kB / 0.6654 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.4641, allocations: 2.656 kB / 0.6654 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.4641, allocations: 18.38 kB / 0.6654 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4643, allocations: 62.86 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.4643, allocations: 1.5 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.4644, allocations: 37.55 kB / 0.6655 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.4645, allocations: 16.3 kB / 0.6656 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.4645, allocations: 26.48 kB / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.4646, allocations: 64.44 kB / 0.6656 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4646, allocations: 0 / 0.6656 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4646, allocations: 4 kB / 0.6656 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4646, allocations: 0 / 0.6656 GB, free: 6.891 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.0002573/0.4649, allocations: 366.1 kB / 0.666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.4649, allocations: 10.56 kB / 0.666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.465, allocations: 8.766 kB / 0.666 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.465, allocations: 169.6 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.4651, allocations: 1.844 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4651, allocations: 1.906 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4653, allocations: 188.5 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.4653, allocations: 0 / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4653, allocations: 2.312 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.4654, allocations: 23.17 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.4654, allocations: 41.56 kB / 0.6664 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.4659, allocations: 0.8983 MB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.4659, allocations: 174.5 kB / 0.6675 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.4659, allocations: 80.14 kB / 0.6675 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.466, allocations: 75.28 kB / 0.6676 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.466, allocations: 112.4 kB / 0.6677 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.466, allocations: 3.938 kB / 0.6677 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.865e-05/0.4661, allocations: 35.97 kB / 0.6678 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4661, allocations: 393.1 kB / 0.6681 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4663, allocations: 172.3 kB / 0.6683 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.4663, allocations: 27.23 kB / 0.6683 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.4663, allocations: 154.3 kB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.4663, allocations: 2.656 kB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.4664, allocations: 51.91 kB / 0.6685 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.4664, allocations: 326 kB / 0.6688 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.4665, allocations: 24.14 kB / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4666, allocations: 225.5 kB / 0.6691 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4667, allocations: 201.1 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4667, allocations: 1.375 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002699/0.467, allocations: 192.9 kB / 0.6695 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.467, allocations: 11 kB / 0.6695 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4671, allocations: 5.312 kB / 0.6695 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4671, allocations: 9.125 kB / 0.6695 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4672, allocations: 42.94 kB / 0.6695 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4672, allocations: 10 kB / 0.6695 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.4673, allocations: 31.31 kB / 0.6696 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4673, allocations: 9.031 kB / 0.6696 GB, free: 2.949 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 8.497e-05/0.4674, allocations: 222.2 kB / 0.6698 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.4675, allocations: 110.2 kB / 0.6699 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.4675, allocations: 113.1 kB / 0.67 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.4676, allocations: 185.2 kB / 0.6702 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/0.4676, allocations: 185.3 kB / 0.6703 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.4676, allocations: 181.7 kB / 0.6705 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.4678, allocations: 423.6 kB / 0.6709 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.4678, allocations: 106.3 kB / 0.671 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.4678, allocations: 105 kB / 0.6711 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/0.4678, allocations: 181.2 kB / 0.6713 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4679, allocations: 177.9 kB / 0.6715 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.548e-05/0.4679, allocations: 185.7 kB / 0.6716 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.761e-05/0.4679, allocations: 184.2 kB / 0.6718 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.582e-05/0.468, allocations: 312.4 kB / 0.6721 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.4681, allocations: 188.5 kB / 0.6723 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4682, allocations: 194.8 kB / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.4683, allocations: 107.5 kB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.4684, allocations: 177.4 kB / 0.6728 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.4684, allocations: 106.5 kB / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.35e-05/0.4685, allocations: 115.1 kB / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4685, allocations: 96 / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003108/0.4688, allocations: 30.72 kB / 0.673 GB, free: 15.32 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.0002149/0.469, allocations: 190.8 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4692, allocations: 72.62 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4692, allocations: 1.188 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4692, allocations: 1.281 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.4696, allocations: 470.1 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.4699, allocations: 230.1 kB / 0.6739 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4702, allocations: 0.6933 MB / 0.6746 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.4704, allocations: 60.72 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.4704, allocations: 13.34 kB / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4704, allocations: 0 / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.0041/0.4745, allocations: 1.676 MB / 0.6763 GB, free: 12.89 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)