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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005448/0.005447, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001174/0.001174, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9035/0.9035, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.89 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4392, allocations: 80.9 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001559/0.4408, allocations: 0.5995 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.4412, allocations: 71.78 kB / 0.6649 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.4413, allocations: 0 / 0.6649 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.4413, allocations: 4.906 kB / 0.6649 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.4414, allocations: 12.17 kB / 0.6649 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.4417, allocations: 45.03 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.4418, allocations: 24.44 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.4419, allocations: 2.438 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.4419, allocations: 15.23 kB / 0.665 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.4421, allocations: 62.52 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.4421, allocations: 1.312 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4422, allocations: 36.7 kB / 0.665 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.4423, allocations: 24.86 kB / 0.6651 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.4423, allocations: 26.02 kB / 0.6651 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.4425, allocations: 67.05 kB / 0.6652 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4425, allocations: 0 / 0.6652 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4425, allocations: 0 / 0.6652 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.4425, allocations: 0 / 0.6652 GB, free: 6.605 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.0003508/0.4429, allocations: 360.1 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4429, allocations: 9.156 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.443, allocations: 39.31 kB / 0.6655 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.443, allocations: 11.67 kB / 0.6656 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.4431, allocations: 174.7 kB / 0.6657 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4431, allocations: 1.875 kB / 0.6657 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4431, allocations: 9.516 kB / 0.6657 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.4434, allocations: 172.5 kB / 0.6659 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4434, allocations: 7.922 kB / 0.6659 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4434, allocations: 2.906 kB / 0.6659 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.4435, allocations: 23.39 kB / 0.6659 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.4436, allocations: 39.84 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.4441, allocations: 0.9061 MB / 0.6669 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.4442, allocations: 171.3 kB / 0.667 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.4442, allocations: 80.14 kB / 0.6671 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4442, allocations: 75.28 kB / 0.6672 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.4442, allocations: 124 kB / 0.6673 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4442, allocations: 0 / 0.6673 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.55e-05/0.4443, allocations: 36.2 kB / 0.6673 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.4444, allocations: 384.9 kB / 0.6677 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4445, allocations: 164.4 kB / 0.6678 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4446, allocations: 27.33 kB / 0.6679 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.4446, allocations: 150.5 kB / 0.668 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.4446, allocations: 10.2 kB / 0.668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4447, allocations: 52.77 kB / 0.6681 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.4448, allocations: 321.1 kB / 0.6684 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.4448, allocations: 27.41 kB / 0.6684 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.4449, allocations: 222.7 kB / 0.6686 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4451, allocations: 204.6 kB / 0.6688 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4451, allocations: 1.281 kB / 0.6688 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002997/0.4454, allocations: 192.9 kB / 0.669 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4454, allocations: 6.594 kB / 0.669 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4454, allocations: 6.344 kB / 0.669 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4455, allocations: 9.625 kB / 0.669 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4456, allocations: 46.42 kB / 0.6691 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4456, allocations: 10 kB / 0.6691 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.4457, allocations: 22.94 kB / 0.6691 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.4457, allocations: 14.62 kB / 0.6691 GB, free: 2.625 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 9.974e-05/0.4458, allocations: 213.2 kB / 0.6693 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.4459, allocations: 113.2 kB / 0.6694 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.4459, allocations: 117.8 kB / 0.6695 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.446, allocations: 185.7 kB / 0.6697 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/0.446, allocations: 176.3 kB / 0.6699 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.446, allocations: 185.7 kB / 0.6701 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.4462, allocations: 415.5 kB / 0.6705 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.4462, allocations: 106.2 kB / 0.6706 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.4463, allocations: 118.1 kB / 0.6707 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/0.4463, allocations: 185.6 kB / 0.6708 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4463, allocations: 184.1 kB / 0.671 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.4464, allocations: 177.6 kB / 0.6712 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-05/0.4464, allocations: 181.7 kB / 0.6714 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.4465, allocations: 316.5 kB / 0.6717 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.4466, allocations: 187.3 kB / 0.6718 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.4467, allocations: 183 kB / 0.672 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.4468, allocations: 112 kB / 0.6721 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.4469, allocations: 181.9 kB / 0.6723 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.447, allocations: 105 kB / 0.6724 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.304e-05/0.447, allocations: 115.2 kB / 0.6725 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.054e-06/0.4471, allocations: 0 / 0.6725 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003137/0.4474, allocations: 31.25 kB / 0.6725 GB, free: 14.99 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.0004804/0.4479, allocations: 0.8259 MB / 0.6733 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.448, allocations: 70.94 kB / 0.6734 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.448, allocations: 1.5 kB / 0.6734 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.448, allocations: 9.188 kB / 0.6734 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4484, allocations: 475.1 kB / 0.6739 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.4489, allocations: 274.6 kB / 0.6741 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4492, allocations: 0.6942 MB / 0.6748 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.4494, allocations: 55.08 kB / 0.6749 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.4495, allocations: 26.7 kB / 0.6749 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4495, allocations: 0 / 0.6749 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.4707, allocations: 2.94 MB / 0.6778 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.849, allocations: 17.12 kB / 0.6778 GB, free: 11.15 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)