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.0009694/0.0009694, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7389/0.7389, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.511/1.511, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008883, allocations: 103.6 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/5.005e-05, allocations: 4.688 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2103, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7866/0.997, allocations: 111 MB / 0.7489 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.9972, allocations: 76.78 kB / 0.749 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003407/1.001, allocations: 1.175 MB / 0.7501 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/1.001, allocations: 0 / 0.7501 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.001, allocations: 3.844 kB / 0.7501 GB, free: 27.57 MB / 0.5105 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.0003045/1.001, allocations: 346.4 kB / 0.7504 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.001, allocations: 7.656 kB / 0.7505 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/1.001, allocations: 44.48 kB / 0.7505 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/1.001, allocations: 7.75 kB / 0.7505 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.001, allocations: 176.6 kB / 0.7507 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.001, allocations: 4 kB / 0.7507 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.001, allocations: 0 / 0.7507 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.002, allocations: 165.8 kB / 0.7508 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.002, allocations: 0 / 0.7508 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/1.002, allocations: 3.844 kB / 0.7508 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/1.002, allocations: 29.17 kB / 0.7509 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/1.002, allocations: 36.98 kB / 0.7509 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/1.002, allocations: 0.8906 MB / 0.7518 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/1.003, allocations: 169.1 kB / 0.7519 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/1.003, allocations: 83.39 kB / 0.752 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.003, allocations: 75.28 kB / 0.7521 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/1.003, allocations: 112 kB / 0.7522 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.003, allocations: 4 kB / 0.7522 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.01e-05/1.003, allocations: 37.48 kB / 0.7522 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.003, allocations: 393.8 kB / 0.7526 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.003, allocations: 154.9 kB / 0.7528 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.003, allocations: 29.64 kB / 0.7528 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/1.003, allocations: 147.6 kB / 0.7529 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/1.003, allocations: 0 / 0.7529 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/1.003, allocations: 3.375 kB / 0.7529 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.003, allocations: 329 kB / 0.7532 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/1.003, allocations: 22.56 kB / 0.7533 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.004, allocations: 224.4 kB / 0.7535 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/1.004, allocations: 58.31 kB / 0.7535 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.004, allocations: 3.844 kB / 0.7535 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002537/1.004, allocations: 184.1 kB / 0.7537 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.004, allocations: 7.562 kB / 0.7537 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.004, allocations: 7.844 kB / 0.7537 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.004, allocations: 7.688 kB / 0.7537 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.004, allocations: 46.89 kB / 0.7538 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.004, allocations: 7.625 kB / 0.7538 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/1.004, allocations: 26.91 kB / 0.7538 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/1.004, allocations: 7.75 kB / 0.7538 GB, free: 24.15 MB / 0.5105 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.0001185/1.004, allocations: 204.7 kB / 0.754 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/1.004, allocations: 120.5 kB / 0.7541 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/1.005, allocations: 111.8 kB / 0.7542 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/1.005, allocations: 176.6 kB / 0.7544 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-05/1.005, allocations: 183.8 kB / 0.7546 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-05/1.005, allocations: 184.1 kB / 0.7548 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/1.005, allocations: 425.8 kB / 0.7552 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/1.005, allocations: 105 kB / 0.7553 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/1.005, allocations: 104 kB / 0.7554 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-05/1.005, allocations: 183.7 kB / 0.7555 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/1.005, allocations: 185 kB / 0.7557 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.617e-05/1.005, allocations: 182.7 kB / 0.7559 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.816e-05/1.005, allocations: 183.7 kB / 0.7561 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/1.006, allocations: 306.6 kB / 0.7564 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/1.006, allocations: 193.9 kB / 0.7565 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/1.006, allocations: 190.4 kB / 0.7567 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/1.006, allocations: 101.3 kB / 0.7568 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/1.006, allocations: 188 kB / 0.757 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/1.006, allocations: 105 kB / 0.7571 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.928e-05/1.006, allocations: 122.1 kB / 0.7572 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/1.006, allocations: 0 / 0.7572 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003189/1.006, allocations: 25.84 kB / 0.7572 GB, free: 20.6 MB / 0.5105 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.0006054/1.007, allocations: 0.8334 MB / 0.758 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001384/1.007, allocations: 71.34 kB / 0.7581 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.007, allocations: 0 / 0.7581 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.007, allocations: 0 / 0.7581 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/1.007, allocations: 0.5332 MB / 0.7586 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/1.008, allocations: 224.1 kB / 0.7589 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.008, allocations: 0.6964 MB / 0.7595 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001851/1.008, allocations: 56.66 kB / 0.7596 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/1.008, allocations: 29.3 kB / 0.7596 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.008, allocations: 0 / 0.7596 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/1.024, allocations: 2.756 MB / 0.7623 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.024, allocations: 148 kB / 0.7624 GB, free: 17.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.487, allocations: 0 / 0.7624 GB, free: 17.83 MB / 0.5105 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)