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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01253/0.01253, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9789/0.9789, 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.537/1.537, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0008245/0.0008243, allocations: 89.67 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 11.98 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4638, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.6714, allocations: 111.1 MB / 0.758 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6717, allocations: 71.95 kB / 0.7581 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004526/0.6763, allocations: 1.178 MB / 0.7592 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6763, allocations: 0 / 0.7592 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.6763, allocations: 4 kB / 0.7592 GB, free: 3.707 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.0004008/0.6767, allocations: 358.6 kB / 0.7596 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6768, allocations: 8.031 kB / 0.7596 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.6769, allocations: 42.56 kB / 0.7596 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.6769, allocations: 7.906 kB / 0.7596 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6771, allocations: 175 kB / 0.7598 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6771, allocations: 0 / 0.7598 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.6771, allocations: 3.984 kB / 0.7598 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.6774, allocations: 151.3 kB / 0.7599 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6775, allocations: 4 kB / 0.7599 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.6775, allocations: 11.98 kB / 0.7599 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.6776, allocations: 27.91 kB / 0.76 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.6777, allocations: 35.91 kB / 0.76 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.6786, allocations: 0.8867 MB / 0.7609 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6787, allocations: 169.1 kB / 0.761 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.6788, allocations: 83.22 kB / 0.7611 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/0.6788, allocations: 109.8 kB / 0.7612 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.6789, allocations: 0 / 0.7612 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.679, allocations: 41.55 kB / 0.7613 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.6792, allocations: 387.7 kB / 0.7616 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.6794, allocations: 153.3 kB / 0.7618 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6794, allocations: 29.7 kB / 0.7618 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.6796, allocations: 147.3 kB / 0.7619 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.6796, allocations: 4 kB / 0.7619 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.6796, allocations: 8 kB / 0.7619 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6798, allocations: 322.8 kB / 0.7623 GB, free: 276 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.6799, allocations: 24.36 kB / 0.7623 GB, free: 252 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.6802, allocations: 217.9 kB / 0.7625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.6804, allocations: 67.84 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.6804, allocations: 4 kB / 0.7626 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004508/0.6808, allocations: 189.1 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6809, allocations: 9.75 kB / 0.7627 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.6809, allocations: 4 kB / 0.7628 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6809, allocations: 12 kB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6811, allocations: 35.92 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.6812, allocations: 11.98 kB / 0.7628 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.6813, allocations: 31.75 kB / 0.7628 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.6814, allocations: 8 kB / 0.7628 GB, free: 15.57 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.000192/0.6816, allocations: 220.9 kB / 0.7631 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6817, allocations: 112.8 kB / 0.7632 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.6818, allocations: 112.9 kB / 0.7633 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/0.6819, allocations: 188.3 kB / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-05/0.682, allocations: 180.5 kB / 0.7636 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-05/0.6821, allocations: 184.3 kB / 0.7638 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.6825, allocations: 421.1 kB / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.6825, allocations: 110.7 kB / 0.7643 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.6826, allocations: 108.9 kB / 0.7644 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.812e-05/0.6827, allocations: 180.3 kB / 0.7646 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.6828, allocations: 176.3 kB / 0.7647 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.955e-05/0.6829, allocations: 180.2 kB / 0.7649 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.662e-05/0.683, allocations: 176.3 kB / 0.7651 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.6832, allocations: 319.7 kB / 0.7654 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.6833, allocations: 193.9 kB / 0.7656 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6834, allocations: 184.3 kB / 0.7658 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.6836, allocations: 109 kB / 0.7659 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.6837, allocations: 184.2 kB / 0.766 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.6838, allocations: 105 kB / 0.7661 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001136/0.6839, allocations: 111.8 kB / 0.7662 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.6839, allocations: 0 / 0.7662 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005682/0.6845, allocations: 28 kB / 0.7663 GB, free: 11.84 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.0006848/0.6852, allocations: 0.8284 MB / 0.7671 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.6854, allocations: 79.78 kB / 0.7672 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6854, allocations: 1.312 kB / 0.7672 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.6854, allocations: 16 / 0.7672 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.6859, allocations: 0.5302 MB / 0.7677 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.6866, allocations: 296.1 kB / 0.768 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.687, allocations: 0.6971 MB / 0.7686 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002847/0.6873, allocations: 56.59 kB / 0.7687 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.6874, allocations: 23.44 kB / 0.7687 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of SimCode: time 4.9e-07/0.6874, allocations: 0 / 0.7687 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.7057, allocations: 2.74 MB / 0.7714 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.7061, allocations: 182.8 kB / 0.7716 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.256, allocations: 3.938 kB / 0.7716 GB, free: 6.395 MB / 0.5417 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/linux/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)