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.005675/0.005675, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.00122/0.00122, allocations: 199.1 kB / 16.68 MB, free: 6.355 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9166/0.9166, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.89 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4331, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001488/0.4346, allocations: 0.6031 MB / 0.6648 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.4349, allocations: 72.19 kB / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.435, allocations: 1.062 kB / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.435, allocations: 4 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.4351, allocations: 7.781 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.4354, allocations: 45.72 kB / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.4354, allocations: 20.38 kB / 0.6649 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.4355, allocations: 9.391 kB / 0.6649 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.4355, allocations: 11.75 kB / 0.6649 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.4357, allocations: 70.58 kB / 0.665 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4357, allocations: 3.969 kB / 0.665 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.4358, allocations: 35.25 kB / 0.6651 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.4359, allocations: 16.58 kB / 0.6651 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.4359, allocations: 22.62 kB / 0.6651 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.436, allocations: 69.59 kB / 0.6652 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.436, allocations: 0 / 0.6652 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.436, allocations: 0 / 0.6652 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.436, allocations: 1 kB / 0.6652 GB, free: 6.59 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.0002759/0.4363, allocations: 352.4 kB / 0.6655 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4364, allocations: 9.844 kB / 0.6655 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.4364, allocations: 43.11 kB / 0.6655 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.4364, allocations: 13.03 kB / 0.6656 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.239e-05/0.4365, allocations: 169.7 kB / 0.6657 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4365, allocations: 5.578 kB / 0.6657 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4365, allocations: 3.25 kB / 0.6657 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4367, allocations: 186.9 kB / 0.6659 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4368, allocations: 5.062 kB / 0.6659 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4368, allocations: 2.219 kB / 0.6659 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.4368, allocations: 23.48 kB / 0.6659 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.4369, allocations: 36 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4373, allocations: 0.9062 MB / 0.6669 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.4374, allocations: 171 kB / 0.667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.4374, allocations: 80.14 kB / 0.6671 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.4375, allocations: 79.28 kB / 0.6672 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4375, allocations: 112.2 kB / 0.6673 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4375, allocations: 0 / 0.6673 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.4376, allocations: 35.61 kB / 0.6673 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.4376, allocations: 390.1 kB / 0.6677 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4378, allocations: 163.2 kB / 0.6678 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4378, allocations: 31.23 kB / 0.6679 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.4378, allocations: 159.4 kB / 0.668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.4378, allocations: 5.5 kB / 0.668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.4379, allocations: 48.48 kB / 0.6681 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.4379, allocations: 325.1 kB / 0.6684 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.438, allocations: 28.58 kB / 0.6684 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4381, allocations: 226.3 kB / 0.6686 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4382, allocations: 196.1 kB / 0.6688 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4382, allocations: 1.906 kB / 0.6688 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002548/0.4385, allocations: 191.8 kB / 0.669 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4385, allocations: 8.531 kB / 0.669 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4385, allocations: 8.156 kB / 0.669 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4386, allocations: 10.97 kB / 0.669 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4387, allocations: 37.61 kB / 0.6691 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4387, allocations: 13.86 kB / 0.6691 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.4388, allocations: 30.5 kB / 0.6691 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4388, allocations: 10.62 kB / 0.6691 GB, free: 2.605 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.321e-05/0.4389, allocations: 216.5 kB / 0.6693 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.4389, allocations: 111.4 kB / 0.6694 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.439, allocations: 124.5 kB / 0.6695 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.439, allocations: 181.4 kB / 0.6697 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.439, allocations: 181.4 kB / 0.6699 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.4391, allocations: 181.7 kB / 0.6701 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.4392, allocations: 411.4 kB / 0.6705 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.4392, allocations: 118.8 kB / 0.6706 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.4392, allocations: 105 kB / 0.6707 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.4393, allocations: 181.3 kB / 0.6708 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4393, allocations: 181.7 kB / 0.671 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-05/0.4393, allocations: 181.4 kB / 0.6712 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/0.4393, allocations: 184.2 kB / 0.6714 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.4395, allocations: 317 kB / 0.6717 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.4396, allocations: 184.4 kB / 0.6718 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.4396, allocations: 190.6 kB / 0.672 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.4397, allocations: 108.2 kB / 0.6721 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.4398, allocations: 180.3 kB / 0.6723 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.4399, allocations: 106.5 kB / 0.6724 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.4399, allocations: 114.2 kB / 0.6725 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4399, allocations: 0 / 0.6725 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002923/0.4402, allocations: 26.94 kB / 0.6725 GB, free: 14.98 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.0004606/0.4407, allocations: 0.8227 MB / 0.6733 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.4409, allocations: 79.91 kB / 0.6734 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4409, allocations: 1.312 kB / 0.6734 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.4409, allocations: 5.438 kB / 0.6734 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4412, allocations: 474.4 kB / 0.6739 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.4417, allocations: 277.8 kB / 0.6741 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.442, allocations: 0.6908 MB / 0.6748 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.4422, allocations: 59.88 kB / 0.6749 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.4422, allocations: 17.25 kB / 0.6749 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.4422, allocations: 1.281 kB / 0.6749 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.4631, allocations: 2.937 MB / 0.6778 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.915, allocations: 5.344 kB / 0.6778 GB, free: 11.14 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)