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.001552/0.001552, allocations: 174.7 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.9068/0.9068, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.461/1.461, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0008973/0.0008973, allocations: 104.1 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.066e-05, allocations: 5.406 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 82.3 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5559/0.7187, allocations: 111 MB / 0.7489 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.719, allocations: 77.89 kB / 0.749 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003558/0.7226, allocations: 1.176 MB / 0.7501 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7226, allocations: 3.844 kB / 0.7501 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7226, allocations: 0 / 0.7501 GB, free: 27.68 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.0003239/0.723, allocations: 342.4 kB / 0.7505 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.723, allocations: 11.28 kB / 0.7505 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.7231, allocations: 40.55 kB / 0.7505 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.7231, allocations: 7.75 kB / 0.7505 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7233, allocations: 177.2 kB / 0.7507 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.7233, allocations: 0 / 0.7507 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.7233, allocations: 7.672 kB / 0.7507 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.7236, allocations: 155.3 kB / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7236, allocations: 4 kB / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.7236, allocations: 3.594 kB / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.7237, allocations: 23.75 kB / 0.7509 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.7238, allocations: 42.75 kB / 0.7509 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.7245, allocations: 0.8852 MB / 0.7518 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.7247, allocations: 172 kB / 0.7519 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.7247, allocations: 83.98 kB / 0.752 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.7248, allocations: 82.47 kB / 0.7521 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.7248, allocations: 105.8 kB / 0.7522 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7248, allocations: 0 / 0.7522 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.589e-05/0.7249, allocations: 37.36 kB / 0.7522 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.7251, allocations: 393.7 kB / 0.7526 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.7253, allocations: 154 kB / 0.7528 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.7253, allocations: 33.45 kB / 0.7528 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.7254, allocations: 155.2 kB / 0.7529 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.7254, allocations: 0 / 0.7529 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.7254, allocations: 6.969 kB / 0.7529 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7255, allocations: 321.1 kB / 0.7532 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.7256, allocations: 25.33 kB / 0.7533 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.7257, allocations: 221.8 kB / 0.7535 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.7258, allocations: 59.94 kB / 0.7535 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7258, allocations: 3.688 kB / 0.7535 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002713/0.7261, allocations: 189.8 kB / 0.7537 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7261, allocations: 7.625 kB / 0.7537 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7261, allocations: 3.969 kB / 0.7537 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.7261, allocations: 7.719 kB / 0.7537 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.7263, allocations: 36.2 kB / 0.7538 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7263, allocations: 11.75 kB / 0.7538 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.7264, allocations: 30.66 kB / 0.7538 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.7264, allocations: 7.688 kB / 0.7538 GB, free: 24.26 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.0001125/0.7265, allocations: 210 kB / 0.754 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.7266, allocations: 111.1 kB / 0.7541 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.7267, allocations: 115.5 kB / 0.7542 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.363e-05/0.7267, allocations: 183.2 kB / 0.7544 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-05/0.7268, allocations: 180.2 kB / 0.7546 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.791e-05/0.7269, allocations: 187.3 kB / 0.7548 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.7271, allocations: 420 kB / 0.7552 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.006e-05/0.7272, allocations: 107.5 kB / 0.7553 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.7272, allocations: 101 kB / 0.7554 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.7273, allocations: 187.7 kB / 0.7555 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.7274, allocations: 177.2 kB / 0.7557 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.348e-05/0.7275, allocations: 187 kB / 0.7559 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.522e-05/0.7275, allocations: 176.3 kB / 0.7561 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.7277, allocations: 313.1 kB / 0.7564 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.7278, allocations: 186 kB / 0.7565 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.7279, allocations: 192.2 kB / 0.7567 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.728, allocations: 108 kB / 0.7568 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.7281, allocations: 176.3 kB / 0.757 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.7282, allocations: 112.9 kB / 0.7571 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.182e-05/0.7283, allocations: 121.1 kB / 0.7572 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7283, allocations: 0 / 0.7572 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003126/0.7286, allocations: 26.62 kB / 0.7572 GB, free: 20.71 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.0005749/0.7292, allocations: 0.8332 MB / 0.7581 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.7293, allocations: 76.64 kB / 0.7581 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7293, allocations: 3.875 kB / 0.7581 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.7293, allocations: 0 / 0.7581 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.7297, allocations: 0.5248 MB / 0.7586 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.7301, allocations: 227.7 kB / 0.7589 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7304, allocations: 0.7012 MB / 0.7595 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.7305, allocations: 54.59 kB / 0.7596 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.7306, allocations: 21.81 kB / 0.7596 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7306, allocations: 0 / 0.7596 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.744, allocations: 2.762 MB / 0.7623 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.7442, allocations: 153.1 kB / 0.7625 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.245, allocations: 3.938 kB / 0.7625 GB, free: 17.95 MB / 0.5105 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)