Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008967/0.008967, allocations: 168.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.843/0.843, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 105.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3804, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5322, allocations: 111 MB / 0.758 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5325, allocations: 71.95 kB / 0.7581 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003499/0.536, allocations: 1.178 MB / 0.7592 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.536, allocations: 0 / 0.7592 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.536, allocations: 0 / 0.7592 GB, free: 3.66 MB / 0.5261 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.0003394/0.5364, allocations: 358.7 kB / 0.7596 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5365, allocations: 12.02 kB / 0.7596 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.5365, allocations: 38.56 kB / 0.7596 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.5366, allocations: 11.91 kB / 0.7596 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5367, allocations: 171 kB / 0.7598 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5367, allocations: 7.875 kB / 0.7598 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.5367, allocations: 4 kB / 0.7598 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.537, allocations: 155.3 kB / 0.7599 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.537, allocations: 4 kB / 0.7599 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5371, allocations: 3.938 kB / 0.7599 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.5371, allocations: 27.97 kB / 0.76 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.5372, allocations: 31.92 kB / 0.76 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.538, allocations: 0.8945 MB / 0.7609 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.5381, allocations: 173.1 kB / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.5381, allocations: 83.22 kB / 0.7611 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.5382, allocations: 105.8 kB / 0.7612 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.5382, allocations: 3.938 kB / 0.7612 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0001124/0.5383, allocations: 37.61 kB / 0.7613 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.5385, allocations: 387.7 kB / 0.7616 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.5387, allocations: 149.4 kB / 0.7618 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5387, allocations: 29.7 kB / 0.7618 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5388, allocations: 151.3 kB / 0.7619 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.5388, allocations: 4 kB / 0.7619 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5388, allocations: 4 kB / 0.762 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.539, allocations: 322.8 kB / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.539, allocations: 24.36 kB / 0.7623 GB, free: 200 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.5393, allocations: 221.9 kB / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.5394, allocations: 67.84 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5394, allocations: 4 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000313/0.5397, allocations: 181.7 kB / 0.7627 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5397, allocations: 13.19 kB / 0.7627 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5397, allocations: 4 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5398, allocations: 8 kB / 0.7628 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5399, allocations: 43.92 kB / 0.7628 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5399, allocations: 4 kB / 0.7628 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.54, allocations: 27.75 kB / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.5401, allocations: 11.98 kB / 0.7628 GB, free: 15.52 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.5402, allocations: 213 kB / 0.763 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.5403, allocations: 128.8 kB / 0.7632 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.5404, allocations: 108.9 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-05/0.5405, allocations: 180.2 kB / 0.7634 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/0.5405, allocations: 176.6 kB / 0.7636 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/0.5406, allocations: 188.2 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.5409, allocations: 425.1 kB / 0.7642 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/0.541, allocations: 106.7 kB / 0.7643 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.541, allocations: 109 kB / 0.7644 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.5411, allocations: 184.2 kB / 0.7646 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.5412, allocations: 176.3 kB / 0.7647 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.741e-05/0.5412, allocations: 180.2 kB / 0.7649 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.333e-05/0.5413, allocations: 184.3 kB / 0.7651 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.5415, allocations: 319.7 kB / 0.7654 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5416, allocations: 189.9 kB / 0.7656 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5418, allocations: 184.3 kB / 0.7658 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.5419, allocations: 109 kB / 0.7659 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.542, allocations: 188.2 kB / 0.766 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.542, allocations: 101 kB / 0.7661 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.5421, allocations: 111.8 kB / 0.7662 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5421, allocations: 4 kB / 0.7662 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003451/0.5424, allocations: 24 kB / 0.7663 GB, free: 11.79 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005155/0.543, allocations: 0.8323 MB / 0.7671 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.5431, allocations: 72.84 kB / 0.7672 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5432, allocations: 4 kB / 0.7672 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.5432, allocations: 4.266 kB / 0.7672 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.5435, allocations: 0.5263 MB / 0.7677 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.5441, allocations: 304.1 kB / 0.768 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.5444, allocations: 0.6932 MB / 0.7686 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.5445, allocations: 52.59 kB / 0.7687 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.5446, allocations: 19.44 kB / 0.7687 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.5446, allocations: 0 / 0.7687 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5613, allocations: 2.745 MB / 0.7714 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.5616, allocations: 175.5 kB / 0.7716 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.153, allocations: 0 / 0.7716 GB, free: 6.332 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)