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.0007448/0.0007448, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005082/0.005082, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.536/1.536, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4206/0.4206, allocations: 55.02 MB / 325.7 MB, free: 0.625 MB / 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.0006099/0.0006099, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3738, allocations: 60.71 MB / 458 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008327/0.3747, allocations: 307.4 kB / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.375, allocations: 67.31 kB / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.3751, allocations: 0 / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3751, allocations: 4.438 kB / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.3751, allocations: 5 kB / 458.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.3754, allocations: 36.42 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.3755, allocations: 28.36 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.3755, allocations: 1 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.3756, allocations: 17.31 kB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3758, allocations: 65.84 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3758, allocations: 5.922 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.3759, allocations: 37.73 kB / 458.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.376, allocations: 18.58 kB / 458.6 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.376, allocations: 53.02 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3762, allocations: 67.56 kB / 458.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3762, allocations: 0 / 458.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3762, allocations: 0 / 458.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3762, allocations: 0 / 458.7 MB, free: 38.21 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.0003161/0.3765, allocations: 347.1 kB / 459 MB, free: 37.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3766, allocations: 9.844 kB / 459 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3766, allocations: 9.406 kB / 459 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.3767, allocations: 168.4 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3767, allocations: 4.359 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3768, allocations: 3.281 kB / 459.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3771, allocations: 183.3 kB / 459.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3771, allocations: 0 / 459.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3771, allocations: 6.25 kB / 459.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.3772, allocations: 27.28 kB / 459.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.3773, allocations: 36.55 kB / 459.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3779, allocations: 0.9088 MB / 460.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.3779, allocations: 174.3 kB / 460.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.378, allocations: 80.14 kB / 460.6 MB, free: 36.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.378, allocations: 75.28 kB / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.378, allocations: 114.8 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3781, allocations: 0 / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.3781, allocations: 38.48 kB / 460.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3782, allocations: 384.7 kB / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3784, allocations: 166.3 kB / 461.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3784, allocations: 32.64 kB / 461.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3785, allocations: 147.2 kB / 461.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.3785, allocations: 3.938 kB / 461.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.3785, allocations: 23.7 kB / 461.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.3786, allocations: 321.9 kB / 461.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.3787, allocations: 25.14 kB / 461.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3788, allocations: 219.9 kB / 462.1 MB, free: 34.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.379, allocations: 212.3 kB / 462.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.379, allocations: 3.938 kB / 462.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002792/0.3793, allocations: 191.5 kB / 462.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3793, allocations: 7.094 kB / 462.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3793, allocations: 14.44 kB / 462.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3793, allocations: 5.719 kB / 462.6 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3795, allocations: 40.55 kB / 462.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3795, allocations: 6 kB / 462.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.3796, allocations: 27.25 kB / 462.6 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3796, allocations: 11.53 kB / 462.6 MB, free: 34.68 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 0.0001106/0.3797, allocations: 212.2 kB / 462.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.3798, allocations: 118.8 kB / 463 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.3798, allocations: 121.1 kB / 463.1 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.153e-05/0.3799, allocations: 180.2 kB / 463.3 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-05/0.3799, allocations: 183.6 kB / 463.4 MB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.38, allocations: 176.9 kB / 463.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3802, allocations: 420.8 kB / 464 MB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/0.3802, allocations: 108.9 kB / 464.1 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.3802, allocations: 107.5 kB / 464.2 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/0.3803, allocations: 176.3 kB / 464.4 MB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3803, allocations: 183.4 kB / 464.6 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.282e-05/0.3803, allocations: 183.2 kB / 464.8 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-05/0.3804, allocations: 181.1 kB / 464.9 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.3805, allocations: 318.6 kB / 465.2 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3805, allocations: 193.4 kB / 465.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.3806, allocations: 183.1 kB / 465.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3807, allocations: 107.1 kB / 465.7 MB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3807, allocations: 184.2 kB / 465.9 MB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3807, allocations: 104.9 kB / 466 MB, free: 31.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.3808, allocations: 117.2 kB / 466.1 MB, free: 31.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3808, allocations: 0 / 466.1 MB, free: 31.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3811, allocations: 29.53 kB / 466.1 MB, free: 31.13 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.0001957/0.3813, allocations: 183.4 kB / 466.3 MB, free: 30.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3815, allocations: 79.92 kB / 466.4 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3815, allocations: 0 / 466.4 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3815, allocations: 1.125 kB / 466.4 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.3818, allocations: 0.5407 MB / 466.9 MB, free: 30.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.3821, allocations: 242.7 kB / 467.2 MB, free: 30.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3823, allocations: 0.6917 MB / 467.9 MB, free: 29.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.3825, allocations: 62.06 kB / 467.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.3826, allocations: 13.34 kB / 467.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3826, allocations: 0 / 467.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of Templates: time 0.004338/0.3869, allocations: 1.742 MB / 469.7 MB, free: 29.37 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: