Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001643/0.001643, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001991/0.001991, allocations: 215.8 kB / 22.99 MB, free: 4.977 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9754/0.9754, allocations: 149.9 MB / 463.1 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002145/0.002145, allocations: 67.47 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2111, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002205/0.2133, allocations: 0.5994 MB / 0.7288 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.2137, allocations: 67.8 kB / 0.7289 GB, free: 344 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.2137, allocations: 0 / 0.7289 GB, free: 344 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.2138, allocations: 7.922 kB / 0.7289 GB, free: 336 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.2138, allocations: 4 kB / 0.7289 GB, free: 332 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.2142, allocations: 51.88 kB / 0.7289 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.2142, allocations: 23.92 kB / 0.7289 GB, free: 256 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.2143, allocations: 3.984 kB / 0.7289 GB, free: 252 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.2143, allocations: 15.98 kB / 0.729 GB, free: 236 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.2145, allocations: 71.88 kB / 0.729 GB, free: 164 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2145, allocations: 0 / 0.729 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2147, allocations: 39.94 kB / 0.7291 GB, free: 124 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.2147, allocations: 19.98 kB / 0.7291 GB, free: 104 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.2147, allocations: 19.88 kB / 0.7291 GB, free: 84 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2149, allocations: 71.95 kB / 0.7292 GB, free: 12 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2149, allocations: 0 / 0.7292 GB, free: 12 kB / 0.545 GB Notification: Performance of FrontEnd: time 4.288e-06/0.2149, allocations: 3.984 kB / 0.7292 GB, free: 8 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2149, allocations: 0 / 0.7292 GB, free: 8 kB / 0.545 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.0004555/0.2154, allocations: 286.2 kB / 0.7294 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2154, allocations: 12.03 kB / 0.7295 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.2155, allocations: 42.73 kB / 0.7295 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2155, allocations: 8.891 kB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2156, allocations: 106.5 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2156, allocations: 8.359 kB / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2156, allocations: 4.312 kB / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.2161, allocations: 436.3 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2161, allocations: 4 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2161, allocations: 0 / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.2162, allocations: 31.91 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.2163, allocations: 35.92 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.2172, allocations: 0.878 MB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2173, allocations: 165.1 kB / 0.7311 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.2173, allocations: 84.08 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2174, allocations: 79.28 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.2174, allocations: 113.8 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2174, allocations: 0 / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.2175, allocations: 37.66 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/0.2178, allocations: 391.7 kB / 0.7318 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.218, allocations: 173 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.218, allocations: 29.7 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2181, allocations: 155.5 kB / 0.7321 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.2181, allocations: 3.938 kB / 0.7321 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.2182, allocations: 53.66 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2184, allocations: 326.8 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.2184, allocations: 23.98 kB / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.2188, allocations: 479.6 kB / 0.733 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.2191, allocations: 209.7 kB / 0.7332 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2191, allocations: 0 / 0.7332 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003474/0.2195, allocations: 189.4 kB / 0.7334 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2195, allocations: 8 kB / 0.7334 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.2195, allocations: 7.984 kB / 0.7334 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.2195, allocations: 7.938 kB / 0.7334 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2197, allocations: 39.92 kB / 0.7334 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2197, allocations: 8 kB / 0.7334 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2198, allocations: 27.84 kB / 0.7335 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2198, allocations: 16.38 kB / 0.7335 GB, free: 11.02 MB / 0.5606 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.0001814/0.22, allocations: 217 kB / 0.7337 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.2201, allocations: 112.9 kB / 0.7338 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.2202, allocations: 116.7 kB / 0.7339 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/0.2203, allocations: 184.2 kB / 0.7341 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/0.2204, allocations: 180.3 kB / 0.7342 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/0.2205, allocations: 180.2 kB / 0.7344 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.2209, allocations: 392.3 kB / 0.7348 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.457e-05/0.2209, allocations: 101 kB / 0.7349 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.221, allocations: 108.9 kB / 0.735 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.2211, allocations: 180.3 kB / 0.7352 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.2212, allocations: 184.1 kB / 0.7353 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001049/0.2213, allocations: 184.3 kB / 0.7355 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001002/0.2214, allocations: 184.2 kB / 0.7357 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2216, allocations: 311.9 kB / 0.736 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.2217, allocations: 120.9 kB / 0.7361 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.2218, allocations: 188.2 kB / 0.7363 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2219, allocations: 108.9 kB / 0.7364 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2221, allocations: 176.3 kB / 0.7366 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.2221, allocations: 101 kB / 0.7367 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.201e-05/0.2222, allocations: 116.8 kB / 0.7368 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2222, allocations: 4 kB / 0.7368 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003809/0.2226, allocations: 32 kB / 0.7368 GB, free: 7.414 MB / 0.5606 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.0006677/0.2232, allocations: 0.832 MB / 0.7376 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.2235, allocations: 68.78 kB / 0.7377 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2235, allocations: 96 / 0.7377 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.2235, allocations: 8.234 kB / 0.7377 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.224, allocations: 471.6 kB / 0.7381 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.2246, allocations: 274.2 kB / 0.7384 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.2247, allocations: 75.97 kB / 0.7385 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.2249, allocations: 56.59 kB / 0.7385 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.225, allocations: 23.44 kB / 0.7385 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.225, allocations: 0 / 0.7385 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.2557, allocations: 3.582 MB / 0.742 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.55, allocations: 10.19 kB / 0.742 GB, free: 2.148 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.383522795978934] Failed to read output from testmodel.py, exit status != 0: 11.656105697154999 11.683852677 11.463730957 Calling exit ...