Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001467/0.001467, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001376/0.001376, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5512/0.5512, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 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.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.015e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001941/0.001961, allocations: 1.373 MB / 0.5555 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.002087, allocations: 39.83 kB / 0.5555 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.002138, allocations: 0 / 0.5555 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.002315, allocations: 15.8 kB / 0.5556 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.002433, allocations: 11.94 kB / 0.5556 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 5.229e-06/0.002438, allocations: 0 / 0.5556 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.00251, allocations: 23.91 kB / 0.5556 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.00255, allocations: 0 / 0.5556 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.002596, allocations: 19.92 kB / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.002638, allocations: 0 / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.002658, allocations: 4 kB / 0.5556 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.002698, allocations: 12 kB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.002736, allocations: 4 kB / 0.5556 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.002752, allocations: 3.938 kB / 0.5556 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.431e-05/0.002847, allocations: 31.89 kB / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002848, allocations: 0 / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002849, allocations: 0 / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002853, allocations: 0 / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002628/0.003116, allocations: 263.5 kB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.003157, allocations: 16.56 kB / 0.5559 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.003192, allocations: 30.75 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.003213, allocations: 8.875 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.00337, allocations: 125.7 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.003379, allocations: 384 / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.003386, allocations: 4.359 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.00347, allocations: 34.25 kB / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003476, allocations: 192 / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.003484, allocations: 4.359 kB / 0.5561 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.003503, allocations: 4.125 kB / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.00352, allocations: 4 kB / 0.5561 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.003633, allocations: 124.8 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.00367, allocations: 26.52 kB / 0.5563 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.003683, allocations: 8.859 kB / 0.5563 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.003699, allocations: 0 / 0.5563 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.003718, allocations: 34.62 kB / 0.5563 GB, free: 464 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.003718, allocations: 4 kB / 0.5563 GB, free: 460 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.003828, allocations: 37.64 kB / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.003858, allocations: 63.28 kB / 0.5564 GB, free: 340 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.003928, allocations: 113.8 kB / 0.5565 GB, free: 216 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.003936, allocations: 25.7 kB / 0.5566 GB, free: 184 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.003963, allocations: 84.14 kB / 0.5566 GB, free: 96 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.003979, allocations: 128 / 0.5566 GB, free: 96 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.004, allocations: 17.72 kB / 0.5567 GB, free: 72 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.004083, allocations: 310.8 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.004094, allocations: 7.984 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.0041, allocations: 4 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/0.004121, allocations: 8.859 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004123, allocations: 0 / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.718e-05/0.00416, allocations: 41.59 kB / 0.557 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004172, allocations: 4 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.004176, allocations: 0 / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.004186, allocations: 8.031 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.004234, allocations: 11.92 kB / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.004238, allocations: 0 / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-06/0.004248, allocations: 4 kB / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004253, allocations: 0 / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 4.952e-05/0.004302, allocations: 109.8 kB / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-06/0.004307, allocations: 0 / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.004373, allocations: 49.09 kB / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.004375, allocations: 0 / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.004379, allocations: 3.938 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004382, allocations: 4.031 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.255e-05/0.004444, allocations: 128.8 kB / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004445, allocations: 0 / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-06/0.004452, allocations: 0 / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004453, allocations: 0 / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.004458, allocations: 0 / 0.5573 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.004459, allocations: 7.938 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.004461, allocations: 4.25 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.703e-05/0.004508, allocations: 65.08 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.004514, allocations: 4 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.004522, allocations: 4.031 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-06/0.004527, allocations: 4 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.004537, allocations: 3.938 kB / 0.5574 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.004539, allocations: 0 / 0.5574 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.004574, allocations: 95.25 kB / 0.5575 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.004574, allocations: 0 / 0.5575 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001232/0.004697, allocations: 4 kB / 0.5575 GB, free: 15.11 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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.000278/0.004975, allocations: 0.6083 MB / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.87e-05/0.005034, allocations: 4 kB / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005036, allocations: 0 / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.005041, allocations: 7.984 kB / 0.5581 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.005145, allocations: 11.88 kB / 0.5581 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.005758, allocations: 1.11 MB / 0.5592 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.005796, allocations: 67.5 kB / 0.5593 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.00582, allocations: 4 kB / 0.5593 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.005846, allocations: 12.5 kB / 0.5593 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.005847, allocations: 0 / 0.5593 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.01982, allocations: 2.029 MB / 0.5613 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.4, allocations: 16.08 kB / 0.5613 GB, free: 11.26 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.815167149528861] Failed to read output from testmodel.py, exit status != 0: 7.480399556457996 7.490554822 7.485994929 Calling exit ...