Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001627/0.001627, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001942/0.001942, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.004007/0.004007, allocations: 280.5 kB / 309.8 MB, free: 3.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.063/1.063, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 103.8 kB / 0.7347 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5493, allocations: 95.34 MB / 0.8278 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001704/0.551, allocations: 0.6084 MB / 0.8284 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.5513, allocations: 70.94 kB / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.5513, allocations: 0 / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.5514, allocations: 2.469 kB / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.5514, allocations: 8.5 kB / 0.8285 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.5517, allocations: 44.41 kB / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.5518, allocations: 34.45 kB / 0.8286 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.5518, allocations: 7.281 kB / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.5518, allocations: 13.94 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.552, allocations: 67.03 kB / 0.8287 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.552, allocations: 3.938 kB / 0.8287 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.5521, allocations: 37.45 kB / 0.8287 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.5522, allocations: 14.92 kB / 0.8287 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.5522, allocations: 24.58 kB / 0.8287 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.5523, allocations: 69.73 kB / 0.8288 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5523, allocations: 3.938 kB / 0.8288 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5523, allocations: 0 / 0.8288 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5523, allocations: 4.656 kB / 0.8288 GB, free: 2.473 MB / 0.5762 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.0003053/0.5526, allocations: 361 kB / 0.8292 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5527, allocations: 10.5 kB / 0.8292 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.5527, allocations: 6.75 kB / 0.8292 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.5527, allocations: 39.39 kB / 0.8292 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.5528, allocations: 10.75 kB / 0.8292 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.814e-05/0.5528, allocations: 165 kB / 0.8294 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.5528, allocations: 3.656 kB / 0.8294 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.5528, allocations: 6.984 kB / 0.8294 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.553, allocations: 183.9 kB / 0.8296 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5531, allocations: 0 / 0.8296 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5531, allocations: 7.016 kB / 0.8296 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.5531, allocations: 22.61 kB / 0.8296 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.5532, allocations: 44.02 kB / 0.8296 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.5537, allocations: 0.9017 MB / 0.8305 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.5537, allocations: 169.7 kB / 0.8307 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.5538, allocations: 84.56 kB / 0.8308 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.5538, allocations: 75.28 kB / 0.8308 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5538, allocations: 117.3 kB / 0.8309 GB, free: 392 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5538, allocations: 0 / 0.8309 GB, free: 392 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.793e-05/0.5539, allocations: 43 kB / 0.831 GB, free: 348 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.554, allocations: 389.2 kB / 0.8313 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5542, allocations: 160.9 kB / 0.8315 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.5542, allocations: 29.64 kB / 0.8315 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5543, allocations: 159 kB / 0.8317 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.5543, allocations: 9.016 kB / 0.8317 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.5544, allocations: 56.05 kB / 0.8317 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5546, allocations: 319.6 kB / 0.832 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.5546, allocations: 29.25 kB / 0.8321 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5548, allocations: 221.3 kB / 0.8323 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.555, allocations: 203 kB / 0.8325 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.555, allocations: 1.219 kB / 0.8325 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003182/0.5554, allocations: 192.9 kB / 0.8327 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5554, allocations: 10.69 kB / 0.8327 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5554, allocations: 9.531 kB / 0.8327 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.5554, allocations: 6.562 kB / 0.8327 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5556, allocations: 43.06 kB / 0.8327 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5556, allocations: 6.984 kB / 0.8327 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.5557, allocations: 26.72 kB / 0.8328 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5557, allocations: 13.97 kB / 0.8328 GB, free: 14.63 MB / 0.5919 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.0001534/0.5558, allocations: 214.3 kB / 0.833 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.5559, allocations: 115.5 kB / 0.8331 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.556, allocations: 115.8 kB / 0.8332 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/0.5561, allocations: 180.9 kB / 0.8334 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.316e-05/0.5562, allocations: 183.7 kB / 0.8336 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-05/0.5563, allocations: 177.1 kB / 0.8337 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.5566, allocations: 422.5 kB / 0.8341 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.5566, allocations: 101.8 kB / 0.8342 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.5567, allocations: 112 kB / 0.8343 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.5568, allocations: 181 kB / 0.8345 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.5569, allocations: 185 kB / 0.8347 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.872e-05/0.557, allocations: 182 kB / 0.8348 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.797e-05/0.557, allocations: 178.9 kB / 0.835 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.5572, allocations: 313.5 kB / 0.8353 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5574, allocations: 194.3 kB / 0.8355 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5575, allocations: 182.2 kB / 0.8357 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5576, allocations: 111.5 kB / 0.8358 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.5577, allocations: 185.3 kB / 0.836 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.5577, allocations: 101.5 kB / 0.8361 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001037/0.5578, allocations: 115.3 kB / 0.8362 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5578, allocations: 4 kB / 0.8362 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003559/0.5582, allocations: 29.11 kB / 0.8362 GB, free: 11.04 MB / 0.5919 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.0005408/0.5587, allocations: 0.8243 MB / 0.837 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.5589, allocations: 78.48 kB / 0.8371 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5589, allocations: 0 / 0.8371 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.5589, allocations: 2.25 kB / 0.8371 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.5593, allocations: 468.5 kB / 0.8375 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.5599, allocations: 285.3 kB / 0.8378 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.5602, allocations: 0.6918 MB / 0.8385 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.5604, allocations: 55.77 kB / 0.8385 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.5605, allocations: 23.2 kB / 0.8386 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5605, allocations: 0 / 0.8386 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.5802, allocations: 3.012 MB / 0.8415 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.838, allocations: 10.83 kB / 0.8415 GB, free: 8.277 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.882117476023268] Failed to read output from testmodel.py, exit status != 0: 8.965492221002933 8.993126467 8.436192255 Calling exit ...