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.0007655/0.0007655, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007581/0.0007581, allocations: 165.9 kB / 22.45 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.8224/0.8224, 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/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.001392/0.001392, allocations: 229.6 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6817/0.6817, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.092e-06, allocations: 0 / 0.6463 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.673e-05, allocations: 9.312 kB / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001117/0.001144, allocations: 0.6084 MB / 0.6469 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.001401, allocations: 71.73 kB / 0.647 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.001421, allocations: 0 / 0.647 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.001453, allocations: 4 kB / 0.647 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.001496, allocations: 7.922 kB / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.001773, allocations: 51.88 kB / 0.6471 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.001831, allocations: 23.97 kB / 0.6471 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.001868, allocations: 0 / 0.6471 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.001906, allocations: 23.91 kB / 0.6471 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.002072, allocations: 75.92 kB / 0.6472 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.002085, allocations: 0 / 0.6472 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.002163, allocations: 43.94 kB / 0.6472 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.002194, allocations: 15.94 kB / 0.6473 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.002212, allocations: 11.98 kB / 0.6473 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002323, allocations: 75.78 kB / 0.6473 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002324, allocations: 4 kB / 0.6473 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002325, allocations: 0 / 0.6473 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002329, allocations: 0 / 0.6473 GB, free: 0.7734 MB / 0.5573 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.0002382/0.002567, allocations: 286.2 kB / 0.6476 GB, free: 472 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.002603, allocations: 13.94 kB / 0.6476 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.002634, allocations: 46.72 kB / 0.6477 GB, free: 404 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.002661, allocations: 8.891 kB / 0.6477 GB, free: 396 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.343e-05/0.002714, allocations: 113.7 kB / 0.6478 GB, free: 256 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.002724, allocations: 384 / 0.6478 GB, free: 256 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.00273, allocations: 384 / 0.6478 GB, free: 256 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2264/0.2291, allocations: 438.3 kB / 0.6482 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2291, allocations: 2.438 kB / 0.6482 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2291, allocations: 3.812 kB / 0.6482 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.2292, allocations: 26.72 kB / 0.6482 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.2292, allocations: 38.41 kB / 0.6483 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.2296, allocations: 0.8644 MB / 0.6491 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.2297, allocations: 169.1 kB / 0.6493 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.071e-05/0.2297, allocations: 80.77 kB / 0.6494 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.2297, allocations: 75.94 kB / 0.6494 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2297, allocations: 116.1 kB / 0.6495 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2297, allocations: 1.594 kB / 0.6495 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.485e-05/0.2298, allocations: 37.12 kB / 0.6496 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2298, allocations: 389.5 kB / 0.6499 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.2299, allocations: 180.1 kB / 0.6501 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2299, allocations: 29.55 kB / 0.6501 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.23, allocations: 154.3 kB / 0.6503 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.23, allocations: 5.812 kB / 0.6503 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.23, allocations: 60.23 kB / 0.6504 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.951e-05/0.23, allocations: 320.4 kB / 0.6507 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.2301, allocations: 25.25 kB / 0.6507 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2302, allocations: 481.8 kB / 0.6511 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.2303, allocations: 201.5 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2303, allocations: 1.406 kB / 0.6513 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002082/0.2305, allocations: 197.6 kB / 0.6515 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2305, allocations: 7.844 kB / 0.6515 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2305, allocations: 4.25 kB / 0.6515 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2305, allocations: 7.828 kB / 0.6515 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.2306, allocations: 40.12 kB / 0.6516 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2306, allocations: 10.48 kB / 0.6516 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.2307, allocations: 24.81 kB / 0.6516 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2307, allocations: 12.47 kB / 0.6516 GB, free: 53.71 MB / 0.5573 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 6.209e-05/0.2308, allocations: 214.8 kB / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.2308, allocations: 120.8 kB / 0.652 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.2308, allocations: 114 kB / 0.6521 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.2308, allocations: 184.5 kB / 0.6522 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.2309, allocations: 179.5 kB / 0.6524 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.2309, allocations: 178.6 kB / 0.6526 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.231, allocations: 396.3 kB / 0.653 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.231, allocations: 103.1 kB / 0.6531 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.231, allocations: 113 kB / 0.6532 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.231, allocations: 181.9 kB / 0.6533 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.231, allocations: 179.1 kB / 0.6535 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.231, allocations: 185.7 kB / 0.6537 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.231, allocations: 178.3 kB / 0.6539 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.015e-05/0.2311, allocations: 309.9 kB / 0.6541 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.2311, allocations: 117.7 kB / 0.6543 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2311, allocations: 184.9 kB / 0.6544 GB, free: 50.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.2312, allocations: 106.8 kB / 0.6545 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2312, allocations: 183.6 kB / 0.6547 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2312, allocations: 102.8 kB / 0.6548 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.2313, allocations: 117.3 kB / 0.6549 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2313, allocations: 0 / 0.6549 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002102/0.2315, allocations: 27.19 kB / 0.6549 GB, free: 50.31 MB / 0.5573 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.0002184/0.2317, allocations: 0.8284 MB / 0.6558 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.2318, allocations: 72.56 kB / 0.6558 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2318, allocations: 0.75 kB / 0.6558 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.2318, allocations: 3.375 kB / 0.6558 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.232, allocations: 468.4 kB / 0.6563 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.2323, allocations: 284.8 kB / 0.6565 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.46e-05/0.2324, allocations: 77.94 kB / 0.6566 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.2325, allocations: 59.81 kB / 0.6567 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2325, allocations: 25.28 kB / 0.6567 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.2325, allocations: 0 / 0.6567 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2476, allocations: 3.731 MB / 0.6603 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.837, allocations: 2.438 kB / 0.6604 GB, free: 47.77 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.308657445013523] Failed to read output from testmodel.py, exit status != 0: 6.915750368498266 6.924652271 6.920473905 Calling exit ...