Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 278.4 kB / 303 MB, free: 3.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 180.9 MB / 0.5261 GB, free: 2.793 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003965/0.003965, allocations: 95.84 kB / 0.7247 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5772, allocations: 94.16 MB / 0.8167 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002703/0.5799, allocations: 1.38 MB / 0.818 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.5801, allocations: 44.11 kB / 0.8181 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.5801, allocations: 1.062 kB / 0.8181 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.5803, allocations: 13.06 kB / 0.8181 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.5804, allocations: 15.8 kB / 0.8181 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.317e-06/0.5804, allocations: 0 / 0.8181 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.5805, allocations: 18.23 kB / 0.8181 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.5805, allocations: 1.969 kB / 0.8181 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.5806, allocations: 14.5 kB / 0.8181 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.5806, allocations: 11.03 kB / 0.8182 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.5807, allocations: 1.688 kB / 0.8182 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.5807, allocations: 13.59 kB / 0.8182 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.5808, allocations: 10.2 kB / 0.8182 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.5808, allocations: 10.19 kB / 0.8182 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.5809, allocations: 27.66 kB / 0.8182 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5809, allocations: 1.75 kB / 0.8182 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5809, allocations: 0 / 0.8182 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5809, allocations: 0 / 0.8182 GB, free: 6.105 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002961/0.5812, allocations: 340.9 kB / 0.8185 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5812, allocations: 10.5 kB / 0.8186 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.5813, allocations: 30.75 kB / 0.8186 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.5813, allocations: 6.391 kB / 0.8186 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.5814, allocations: 176.1 kB / 0.8188 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.5814, allocations: 384 / 0.8188 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.5814, allocations: 1.281 kB / 0.8188 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.928e-05/0.5815, allocations: 29.77 kB / 0.8188 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5815, allocations: 4.938 kB / 0.8188 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.5815, allocations: 4 kB / 0.8188 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.5816, allocations: 5.453 kB / 0.8188 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.5816, allocations: 2.609 kB / 0.8188 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.5817, allocations: 154 kB / 0.819 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.5817, allocations: 16.77 kB / 0.819 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.5818, allocations: 10.62 kB / 0.819 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5818, allocations: 5.984 kB / 0.819 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.5818, allocations: 35.56 kB / 0.819 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.5818, allocations: 0 / 0.819 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.5819, allocations: 49.8 kB / 0.8191 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.582, allocations: 56.91 kB / 0.8191 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.5821, allocations: 109.2 kB / 0.8192 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.5821, allocations: 26.67 kB / 0.8192 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.5821, allocations: 85.42 kB / 0.8193 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.5821, allocations: 5 kB / 0.8193 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.5821, allocations: 15.69 kB / 0.8193 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.5822, allocations: 319.5 kB / 0.8197 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.5822, allocations: 1.312 kB / 0.8197 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.5822, allocations: 0.9375 kB / 0.8197 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.5822, allocations: 17.02 kB / 0.8197 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5822, allocations: 0 / 0.8197 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.971e-05/0.5823, allocations: 40.38 kB / 0.8197 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5823, allocations: 17.69 kB / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5823, allocations: 320 / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5823, allocations: 1.031 kB / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.5824, allocations: 1.062 kB / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5824, allocations: 1.062 kB / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.5824, allocations: 0 / 0.8197 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.5824, allocations: 4.984 kB / 0.8197 GB, free: 4.438 MB / 0.5762 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.849e-05/0.5824, allocations: 115 kB / 0.8198 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.5824, allocations: 5.625 kB / 0.8198 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.5825, allocations: 47.05 kB / 0.8199 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5825, allocations: 1.031 kB / 0.8199 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5825, allocations: 0 / 0.8199 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5825, allocations: 4.953 kB / 0.8199 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.888e-05/0.5826, allocations: 156.9 kB / 0.8201 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5826, allocations: 3.281 kB / 0.8201 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.5826, allocations: 1.969 kB / 0.8201 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5826, allocations: 4.938 kB / 0.8201 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5826, allocations: 0 / 0.8201 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5826, allocations: 1.031 kB / 0.8201 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5826, allocations: 4.031 kB / 0.8201 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.988e-05/0.5827, allocations: 65.97 kB / 0.8201 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.5827, allocations: 79.25 kB / 0.8202 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5827, allocations: 8.047 kB / 0.8202 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-06/0.5827, allocations: 0 / 0.8202 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.5827, allocations: 5.281 kB / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.5827, allocations: 0 / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.5828, allocations: 99.75 kB / 0.8203 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5828, allocations: 0 / 0.8203 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001973/0.583, allocations: 4.125 kB / 0.8203 GB, free: 3.805 MB / 0.5762 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.0003243/0.5833, allocations: 0.6139 MB / 0.8209 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.5834, allocations: 15.53 kB / 0.8209 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5834, allocations: 1.125 kB / 0.8209 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.5834, allocations: 2.375 kB / 0.8209 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.5835, allocations: 8.219 kB / 0.8209 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.5844, allocations: 1.109 MB / 0.822 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.5847, allocations: 0.6809 MB / 0.8227 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.214e-05/0.5848, allocations: 6.516 kB / 0.8227 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.5848, allocations: 9.562 kB / 0.8227 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5848, allocations: 0 / 0.8227 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.6088, allocations: 1.423 MB / 0.8241 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.607, allocations: 4.469 kB / 0.8241 GB, free: 16.99 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.50196486664936] Failed to read output from testmodel.py, exit status != 0: 8.677515022922307 8.699240861 8.114091002 Calling exit ...