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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007465/0.0007465, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000788/0.000788, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.916/0.916, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7203/0.7203, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.633e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002325/0.002352, allocations: 0.6174 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.002721, allocations: 59.88 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.002751, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.002786, allocations: 7.984 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.002844, allocations: 7.938 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.003241, allocations: 43.94 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.00333, allocations: 27.78 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.003385, allocations: 11.97 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.003433, allocations: 15.98 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.003677, allocations: 67.88 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003694, allocations: 8 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.003809, allocations: 43.92 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.003855, allocations: 19.98 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.00388, allocations: 11.94 kB / 0.6191 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.004051, allocations: 79.77 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.004054, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.004056, allocations: 3.938 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.00406, allocations: 0 / 0.6192 GB, free: 12.59 MB / 0.5886 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.000353/0.004413, allocations: 286.2 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.004458, allocations: 8.031 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.004501, allocations: 38.75 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.004541, allocations: 8.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.004618, allocations: 113.8 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004632, allocations: 4.359 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.004642, allocations: 4.375 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.005, allocations: 432.9 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.005015, allocations: 4.172 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.005035, allocations: 7.938 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.005084, allocations: 23.92 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.005168, allocations: 35.91 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.005865, allocations: 0.8625 MB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.005953, allocations: 169.1 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.005986, allocations: 88.08 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.006131, allocations: 75.28 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.006184, allocations: 113.8 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.006186, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.007e-05/0.006276, allocations: 41.58 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.006423, allocations: 387.7 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.006583, allocations: 180.7 kB / 0.6219 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.006601, allocations: 29.7 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.006685, allocations: 151.5 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.984e-06/0.006692, allocations: 11.94 kB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.00676, allocations: 53.66 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.006863, allocations: 330.7 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.006908, allocations: 23.98 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.007174, allocations: 475.6 kB / 0.623 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.007371, allocations: 213.7 kB / 0.6232 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.007375, allocations: 0 / 0.6232 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003108/0.007686, allocations: 189.7 kB / 0.6233 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.007709, allocations: 11.98 kB / 0.6233 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.007719, allocations: 4 kB / 0.6234 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.00774, allocations: 8 kB / 0.6234 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.007876, allocations: 35.92 kB / 0.6234 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.00789, allocations: 11.94 kB / 0.6234 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.007995, allocations: 31.84 kB / 0.6234 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.008009, allocations: 8 kB / 0.6234 GB, free: 7.609 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.008134, allocations: 218 kB / 0.6237 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.008208, allocations: 117 kB / 0.6238 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.008258, allocations: 116.8 kB / 0.6239 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.008313, allocations: 180.2 kB / 0.624 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/0.008368, allocations: 180.3 kB / 0.6242 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-05/0.00842, allocations: 184.2 kB / 0.6244 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.008637, allocations: 396.2 kB / 0.6248 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-05/0.008667, allocations: 101 kB / 0.6249 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.0087, allocations: 104.9 kB / 0.625 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.00901, allocations: 176.3 kB / 0.6251 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.009067, allocations: 180.4 kB / 0.6253 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.942e-05/0.009116, allocations: 184.2 kB / 0.6255 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.877e-05/0.009165, allocations: 184.3 kB / 0.6257 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.009291, allocations: 319.7 kB / 0.626 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.009334, allocations: 112.9 kB / 0.6261 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.009398, allocations: 180.2 kB / 0.6262 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.009478, allocations: 109 kB / 0.6263 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.009538, allocations: 192.1 kB / 0.6265 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.009566, allocations: 101 kB / 0.6266 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.009642, allocations: 114.2 kB / 0.6267 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.009642, allocations: 4 kB / 0.6267 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002194/0.009861, allocations: 27.98 kB / 0.6268 GB, free: 4.012 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003636/0.01022, allocations: 0.8281 MB / 0.6276 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01035, allocations: 75.77 kB / 0.6276 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01036, allocations: 0 / 0.6276 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.01036, allocations: 1.312 kB / 0.6276 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01061, allocations: 477.7 kB / 0.6281 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.01101, allocations: 278.2 kB / 0.6284 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.01107, allocations: 80.23 kB / 0.6284 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.01126, allocations: 56.59 kB / 0.6285 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.01129, allocations: 20.5 kB / 0.6285 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.01129, allocations: 0 / 0.6285 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.03061, allocations: 3.704 MB / 0.6321 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.115, allocations: 4.812 kB / 0.6321 GB, free: 14.62 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.94274697266519] Failed to read output from testmodel.py, exit status != 0: 7.195993116125464 7.204237623 7.198229328 Calling exit ...