Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0007791/0.0007791, 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.0008682/0.0008682, 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.8615/0.8615, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001399/0.001399, allocations: 234.1 kB / 259.4 MB, free: 13.02 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.6741/0.6741, allocations: 138.4 MB / 454.3 MB, free: 30.08 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.074e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002351/0.002371, allocations: 1.673 MB / 0.6479 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2347/0.2371, allocations: 1.357 MB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.2372, allocations: 0.5938 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2374, allocations: 28.58 kB / 0.6493 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.2378, allocations: 115 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.238, allocations: 137.9 kB / 0.6495 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2383, allocations: 252.2 kB / 0.6498 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.2383, allocations: 11.81 kB / 0.6498 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2385, allocations: 118.2 kB / 0.6499 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2386, allocations: 80.69 kB / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2386, allocations: 18.09 kB / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2388, allocations: 119.5 kB / 0.6501 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.2388, allocations: 84.48 kB / 0.6502 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.2389, allocations: 71.77 kB / 0.6503 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.2392, allocations: 352.1 kB / 0.6506 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2392, allocations: 0 / 0.6506 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2392, allocations: 2.906 kB / 0.6506 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2392, allocations: 1.062 kB / 0.6506 GB, free: 55.52 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005185/0.2397, allocations: 488 kB / 0.6511 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2398, allocations: 13.38 kB / 0.6511 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.2398, allocations: 49.03 kB / 0.6511 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.2399, allocations: 31.81 kB / 0.6512 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.24, allocations: 215.4 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.24, allocations: 16.16 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2401, allocations: 14.06 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2403, allocations: 293.1 kB / 0.6517 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2403, allocations: 1.859 kB / 0.6517 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2403, allocations: 15.06 kB / 0.6517 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2403, allocations: 3.062 kB / 0.6517 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.2409, allocations: 0.684 MB / 0.6524 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.2414, allocations: 0.507 MB / 0.6528 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.2417, allocations: 288.9 kB / 0.6531 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.2418, allocations: 93.66 kB / 0.6532 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2418, allocations: 13.27 kB / 0.6532 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.2421, allocations: 182.6 kB / 0.6534 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.2421, allocations: 0 / 0.6534 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34): time 0.0004534/0.2426, allocations: 373 kB / 0.6538 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.2426, allocations: 139 kB / 0.6539 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2428, allocations: 310.4 kB / 0.6542 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2428, allocations: 32.11 kB / 0.6542 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.2429, allocations: 134.3 kB / 0.6543 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.2429, allocations: 114.1 kB / 0.6544 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.243, allocations: 66.83 kB / 0.6545 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.243, allocations: 339.4 kB / 0.6548 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.2431, allocations: 79.47 kB / 0.6549 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2432, allocations: 208.4 kB / 0.6551 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.2434, allocations: 220.1 kB / 0.6553 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2435, allocations: 0 / 0.6553 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002759/0.2437, allocations: 278 kB / 0.6556 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2437, allocations: 5.219 kB / 0.6556 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2437, allocations: 1.656 kB / 0.6556 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2438, allocations: 2.125 kB / 0.6556 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2439, allocations: 63.61 kB / 0.6557 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.2439, allocations: 2.125 kB / 0.6557 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.244, allocations: 31.19 kB / 0.6557 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.244, allocations: 13.44 kB / 0.6557 GB, free: 52.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.27e-05/0.2441, allocations: 163.2 kB / 0.6559 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2441, allocations: 28.95 kB / 0.6559 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.2446, allocations: 385.5 kB / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2446, allocations: 6.328 kB / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2446, allocations: 0 / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2446, allocations: 1.828 kB / 0.6563 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2448, allocations: 279.7 kB / 0.6565 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2448, allocations: 0 / 0.6565 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2449, allocations: 56.56 kB / 0.6566 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2449, allocations: 2.5 kB / 0.6566 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2449, allocations: 11.27 kB / 0.6566 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2449, allocations: 2.312 kB / 0.6566 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2449, allocations: 1.406 kB / 0.6566 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.2452, allocations: 328.5 kB / 0.6569 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.2453, allocations: 65.11 kB / 0.657 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2453, allocations: 9.734 kB / 0.657 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.2454, allocations: 14.11 kB / 0.657 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2454, allocations: 26.36 kB / 0.657 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2454, allocations: 17.5 kB / 0.657 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001329/0.2456, allocations: 244.4 kB / 0.6573 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2456, allocations: 0 / 0.6573 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002253/0.2458, allocations: 74.28 kB / 0.6573 GB, free: 51.63 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001109/0.2469, allocations: 1.25 MB / 0.6586 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.2472, allocations: 214.8 kB / 0.6588 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2472, allocations: 5.188 kB / 0.6588 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2473, allocations: 122.2 kB / 0.6589 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2475, allocations: 33.19 kB / 0.6589 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.2493, allocations: 2.524 MB / 0.6614 GB, free: 49.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.2494, allocations: 151.9 kB / 0.6615 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2496, allocations: 150.5 kB / 0.6617 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.2497, allocations: 101.5 kB / 0.6618 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2497, allocations: 0 / 0.6618 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.2713, allocations: 6.75 MB / 0.6684 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.434, allocations: 7.125 kB / 0.6684 GB, free: 47.38 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.999681442044675] Failed to read output from testmodel.py, exit status != 0: 7.571419318206608 7.583131203 7.341960849 Calling exit ...