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.001344/0.001344, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0008406/0.0008404, allocations: 96.19 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.811e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4818, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6295, allocations: 110.3 MB / 0.7417 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.6298, allocations: 75.95 kB / 0.7417 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002958/0.6328, allocations: 1.17 MB / 0.7429 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6328, allocations: 0 / 0.7429 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6328, allocations: 4 kB / 0.7429 GB, free: 11.08 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.0002872/0.6331, allocations: 353.8 kB / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6332, allocations: 8.031 kB / 0.7432 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.6332, allocations: 7.906 kB / 0.7432 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.6333, allocations: 167 kB / 0.7434 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6334, allocations: 7.938 kB / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.6334, allocations: 0 / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.6335, allocations: 36.17 kB / 0.7434 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6337, allocations: 151.4 kB / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6337, allocations: 3.938 kB / 0.7436 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.6337, allocations: 0 / 0.7436 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.6338, allocations: 27.97 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.6344, allocations: 0.8638 MB / 0.7445 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.412e-05/0.6345, allocations: 165.1 kB / 0.7446 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.6345, allocations: 92.14 kB / 0.7447 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.6346, allocations: 79.27 kB / 0.7448 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.6346, allocations: 105.8 kB / 0.7449 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6346, allocations: 0 / 0.7449 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.396e-05/0.6347, allocations: 41.55 kB / 0.7449 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.6349, allocations: 312.4 kB / 0.7452 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.635, allocations: 151.6 kB / 0.7454 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.635, allocations: 25.7 kB / 0.7454 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.6351, allocations: 147.3 kB / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.6351, allocations: 7.938 kB / 0.7455 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.6351, allocations: 0 / 0.7455 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6353, allocations: 318.8 kB / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.6353, allocations: 24.36 kB / 0.7459 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.6355, allocations: 215.1 kB / 0.7461 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.6355, allocations: 55.91 kB / 0.7461 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6356, allocations: 4 kB / 0.7461 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002631/0.6358, allocations: 165.6 kB / 0.7463 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6359, allocations: 8 kB / 0.7463 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6359, allocations: 4 kB / 0.7463 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6359, allocations: 8 kB / 0.7463 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.636, allocations: 44.02 kB / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.636, allocations: 11.88 kB / 0.7464 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.6361, allocations: 23.75 kB / 0.7464 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.6362, allocations: 8 kB / 0.7464 GB, free: 7.102 MB / 0.5261 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 () * 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.0001043/0.6363, allocations: 200.3 kB / 0.7466 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.894e-05/0.6364, allocations: 142.5 kB / 0.7467 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.6364, allocations: 112.9 kB / 0.7468 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.6365, allocations: 109.3 kB / 0.7469 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.6365, allocations: 184.2 kB / 0.7471 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-05/0.6366, allocations: 180.2 kB / 0.7473 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/0.6367, allocations: 188.3 kB / 0.7475 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.6369, allocations: 393.7 kB / 0.7478 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/0.6369, allocations: 104.9 kB / 0.7479 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.637, allocations: 109 kB / 0.748 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.86e-05/0.637, allocations: 176.3 kB / 0.7482 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.6371, allocations: 180.2 kB / 0.7484 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.067e-05/0.6372, allocations: 185.2 kB / 0.7486 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.804e-05/0.6372, allocations: 180.3 kB / 0.7487 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.6374, allocations: 307.7 kB / 0.749 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.6375, allocations: 193.9 kB / 0.7492 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.6375, allocations: 192.2 kB / 0.7494 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.6376, allocations: 105 kB / 0.7495 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.6377, allocations: 176.6 kB / 0.7497 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.6377, allocations: 116.9 kB / 0.7498 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.6378, allocations: 110.5 kB / 0.7499 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6378, allocations: 3.938 kB / 0.7499 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002805/0.6381, allocations: 20 kB / 0.7499 GB, free: 3.297 MB / 0.5261 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 () * 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.0004393/0.6385, allocations: 0.8282 MB / 0.7507 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.6387, allocations: 69.03 kB / 0.7508 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6387, allocations: 64 / 0.7508 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.6387, allocations: 4 kB / 0.7508 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.639, allocations: 0.5263 MB / 0.7513 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.6394, allocations: 225.1 kB / 0.7515 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6397, allocations: 0.6968 MB / 0.7522 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.6399, allocations: 52.72 kB / 0.7522 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.6399, allocations: 15.44 kB / 0.7522 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.6399, allocations: 8 kB / 0.7523 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.6625, allocations: 2.472 MB / 0.7547 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.6629, allocations: 136 kB / 0.7548 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.124, allocations: 0 / 0.7548 GB, free: 14.15 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)