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.0008254/0.0008254, 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.00155/0.00155, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9108/0.9108, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7185/0.7185, allocations: 154.6 MB / 413.7 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.665e-06/2.665e-06, allocations: 4 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.275e-05, allocations: 5.344 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001152/0.001175, allocations: 0.6153 MB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002543/0.001429, allocations: 67.84 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.00145, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.001479, allocations: 3.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.001522, allocations: 7.984 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.001808, allocations: 43.89 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.001867, allocations: 23.97 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.001903, allocations: 7.938 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.001938, allocations: 23.97 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.002094, allocations: 71.86 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.002106, allocations: 3.938 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.002187, allocations: 51.88 kB / 0.6191 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.002217, allocations: 19.92 kB / 0.6191 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.002235, allocations: 8 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.002347, allocations: 67.84 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00235, allocations: 4 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00235, allocations: 0 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002354, allocations: 4 kB / 0.6191 GB, free: 12.61 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.0002515/0.002605, allocations: 294.1 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.00264, allocations: 8.031 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.002672, allocations: 42.73 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.002698, allocations: 4.938 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.002752, allocations: 113.7 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.002763, allocations: 4.359 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.002769, allocations: 384 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.003012, allocations: 436.9 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00302, allocations: 4.125 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.00303, allocations: 3.938 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.00306, allocations: 23.98 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.003109, allocations: 43.91 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.003569, allocations: 0.8547 MB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.003632, allocations: 169.1 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.003658, allocations: 92.06 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.003679, allocations: 79.22 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.003713, allocations: 109.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.003713, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.966e-05/0.003773, allocations: 33.66 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.003881, allocations: 391.7 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.003984, allocations: 184.3 kB / 0.6219 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.003996, allocations: 33.64 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.004052, allocations: 151.5 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.004055, allocations: 0 / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.004099, allocations: 57.66 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.004171, allocations: 322.8 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.004198, allocations: 27.92 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.004363, allocations: 479.6 kB / 0.623 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.004491, allocations: 205.7 kB / 0.6232 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004493, allocations: 96 / 0.6232 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001916/0.004685, allocations: 197.2 kB / 0.6233 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004696, allocations: 8 kB / 0.6233 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.004703, allocations: 4 kB / 0.6233 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.004715, allocations: 4 kB / 0.6234 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.004798, allocations: 39.92 kB / 0.6234 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.004806, allocations: 12.44 kB / 0.6234 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.004861, allocations: 31.78 kB / 0.6234 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.004871, allocations: 16 kB / 0.6234 GB, free: 7.625 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 8.048e-05/0.004952, allocations: 210 kB / 0.6236 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.00499, allocations: 116.9 kB / 0.6238 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.005025, allocations: 120.7 kB / 0.6239 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/0.005063, allocations: 180.2 kB / 0.624 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/0.005103, allocations: 180.3 kB / 0.6242 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/0.005141, allocations: 188.1 kB / 0.6244 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.005282, allocations: 388.3 kB / 0.6248 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.005305, allocations: 104.9 kB / 0.6249 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.00533, allocations: 109 kB / 0.625 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.503e-05/0.005365, allocations: 176.3 kB / 0.6251 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.005409, allocations: 184.4 kB / 0.6253 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.714e-05/0.005447, allocations: 184.3 kB / 0.6255 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.784e-05/0.005484, allocations: 184.2 kB / 0.6257 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.005572, allocations: 311.8 kB / 0.626 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.005603, allocations: 112.9 kB / 0.6261 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.00565, allocations: 184.3 kB / 0.6262 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.005701, allocations: 108.9 kB / 0.6264 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.005744, allocations: 180.2 kB / 0.6265 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.005767, allocations: 109 kB / 0.6266 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.005818, allocations: 126.3 kB / 0.6267 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005818, allocations: 0 / 0.6267 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002013/0.006019, allocations: 31.94 kB / 0.6268 GB, free: 4.02 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.0002826/0.006302, allocations: 0.8204 MB / 0.6276 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.006414, allocations: 69.03 kB / 0.6276 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.006417, allocations: 4.062 kB / 0.6277 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.006419, allocations: 7.938 kB / 0.6277 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.006651, allocations: 467.6 kB / 0.6281 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.006989, allocations: 270.3 kB / 0.6284 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.00705, allocations: 80.23 kB / 0.6284 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.00717, allocations: 56.59 kB / 0.6285 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.007201, allocations: 24.48 kB / 0.6285 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.007201, allocations: 0 / 0.6285 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.02127, allocations: 3.705 MB / 0.6321 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/6.628, allocations: 7.688 kB / 0.6321 GB, free: 14.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.319450572133064] Failed to read output from testmodel.py, exit status != 0: 6.7081974521279335 6.717523985 6.713394733 Calling exit ...