Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001115/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001083/0.001083, allocations: 189.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4072/0.4072, allocations: 54.93 MB / 324.3 MB, free: 176 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1424, allocations: 59.59 MB / 454.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.2201/0.3625, allocations: 0.6244 MB / 454.9 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.3628, allocations: 66.97 kB / 455 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.3629, allocations: 1.281 kB / 455 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.3629, allocations: 1.312 kB / 455 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.363, allocations: 5.094 kB / 455 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.3632, allocations: 35 kB / 455 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.3633, allocations: 31.8 kB / 455.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.3633, allocations: 1.844 kB / 455.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.3634, allocations: 13.17 kB / 455.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.3636, allocations: 76.14 kB / 455.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3636, allocations: 2.406 kB / 455.2 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.3637, allocations: 36.88 kB / 455.2 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.3637, allocations: 18.23 kB / 455.2 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.3638, allocations: 21.42 kB / 455.2 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3639, allocations: 70.2 kB / 455.3 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3639, allocations: 2.156 kB / 455.3 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3639, allocations: 0.5312 kB / 455.3 MB, free: 39.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3639, allocations: 0.5625 kB / 455.3 MB, free: 39.11 MB / 382.1 MB 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.0002482/0.3642, allocations: 357 kB / 455.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3642, allocations: 8.969 kB / 455.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3642, allocations: 11.31 kB / 455.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.189e-05/0.3643, allocations: 169.8 kB / 455.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3643, allocations: 4.594 kB / 455.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3643, allocations: 5.047 kB / 455.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3645, allocations: 183.5 kB / 456 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3645, allocations: 0.9375 kB / 456 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3645, allocations: 4.453 kB / 456 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.3646, allocations: 29.48 kB / 456.1 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.3647, allocations: 34.66 kB / 456.1 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.3651, allocations: 0.912 MB / 457 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.3651, allocations: 172.5 kB / 457.2 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.3652, allocations: 80.14 kB / 457.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3652, allocations: 75.28 kB / 457.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3652, allocations: 110.4 kB / 457.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3652, allocations: 0 / 457.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.666e-05/0.3653, allocations: 34.67 kB / 457.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.3654, allocations: 393.3 kB / 457.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3655, allocations: 164.2 kB / 458 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3655, allocations: 25.7 kB / 458 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3655, allocations: 152.4 kB / 458.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.3656, allocations: 5.281 kB / 458.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.3656, allocations: 56.64 kB / 458.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.3657, allocations: 322.5 kB / 458.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.3657, allocations: 27.92 kB / 458.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.3658, allocations: 219.2 kB / 458.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3659, allocations: 204.4 kB / 459 MB, free: 35.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.366, allocations: 4.406 kB / 459 MB, free: 35.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002595/0.3662, allocations: 191.7 kB / 459.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3662, allocations: 8.156 kB / 459.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3663, allocations: 9.969 kB / 459.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3663, allocations: 5.312 kB / 459.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3664, allocations: 38.97 kB / 459.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3664, allocations: 9.75 kB / 459.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.3665, allocations: 25.06 kB / 459.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3665, allocations: 22.33 kB / 459.3 MB, free: 35.66 MB / 382.1 MB 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.019e-05/0.3666, allocations: 211.8 kB / 459.5 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3666, allocations: 114.7 kB / 459.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3667, allocations: 116.7 kB / 459.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.3667, allocations: 184.4 kB / 459.9 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/0.3667, allocations: 185.1 kB / 460.1 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.3668, allocations: 178.2 kB / 460.3 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.3669, allocations: 417.6 kB / 460.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.3669, allocations: 108.2 kB / 460.8 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.3669, allocations: 103.4 kB / 460.9 MB, free: 34.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/0.367, allocations: 176.3 kB / 461.1 MB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.367, allocations: 195.3 kB / 461.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.367, allocations: 176.3 kB / 461.4 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.3671, allocations: 184.2 kB / 461.6 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.3671, allocations: 319.3 kB / 461.9 MB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.3672, allocations: 185 kB / 462.1 MB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3672, allocations: 185.5 kB / 462.3 MB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.3673, allocations: 107.4 kB / 462.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3673, allocations: 186 kB / 462.6 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3674, allocations: 101 kB / 462.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.3674, allocations: 117.4 kB / 462.8 MB, free: 32.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3674, allocations: 0 / 462.8 MB, free: 32.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.3678, allocations: 33.38 kB / 462.8 MB, free: 32.15 MB / 382.1 MB 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.0001463/0.3679, allocations: 186 kB / 463 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.368, allocations: 71 kB / 463.1 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3681, allocations: 384 / 463.1 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3681, allocations: 7.938 kB / 463.1 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3684, allocations: 0.5334 MB / 463.6 MB, free: 31.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.3686, allocations: 250 kB / 463.8 MB, free: 31.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3688, allocations: 0.6924 MB / 464.5 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.369, allocations: 59.97 kB / 464.6 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.369, allocations: 14.19 kB / 464.6 MB, free: 30.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.369, allocations: 0 / 464.6 MB, free: 30.53 MB / 382.1 MB Notification: Performance of Templates: time 0.00372/0.3728, allocations: 1.743 MB / 466.4 MB, free: 30.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)