Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.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.001314/0.001314, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.001487/0.001487, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001986/0.001986, allocations: 71.69 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.00274/0.3233, allocations: 1.375 MB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.3235, allocations: 43.83 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.3235, allocations: 0 / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.3237, allocations: 15.91 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3238, allocations: 11.94 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.3238, allocations: 0 / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.3239, allocations: 15.92 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3239, allocations: 4 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.3239, allocations: 11.94 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.324, allocations: 11.91 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.324, allocations: 7.938 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.3241, allocations: 8 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3241, allocations: 4 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.3241, allocations: 3.938 kB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3242, allocations: 36.12 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3242, allocations: 0 / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3242, allocations: 4 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3242, allocations: 7.922 kB / 1.322 GB, free: 1.812 MB / 1.014 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.0003631/0.3246, allocations: 331.3 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3246, allocations: 11.98 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.3247, allocations: 34.7 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.3247, allocations: 8.938 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.3249, allocations: 172.3 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.3249, allocations: 384 / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3249, allocations: 384 / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.325, allocations: 34.27 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.325, allocations: 11.88 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.325, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.325, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.3251, allocations: 15.92 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.3254, allocations: 233 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.3254, allocations: 22.5 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.3255, allocations: 12.92 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3255, allocations: 0 / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3255, allocations: 34.56 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3255, allocations: 0 / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.3256, allocations: 37.64 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3257, allocations: 51.41 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3258, allocations: 117.8 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3258, allocations: 25.83 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.3259, allocations: 92.12 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.3259, allocations: 7.953 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.3259, allocations: 9.719 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.326, allocations: 314.8 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.326, allocations: 4 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-06/0.326, allocations: 3.984 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.3261, allocations: 16.8 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3261, allocations: 8 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.961e-05/0.3262, allocations: 33.75 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3262, allocations: 4 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3262, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3262, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.3262, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3262, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3263, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3263, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 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 7.785e-05/0.3263, allocations: 117.8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3264, allocations: 3.953 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.68e-05/0.3265, allocations: 49.16 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3265, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3265, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.3265, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3266, allocations: 169.5 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3266, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.3267, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3267, allocations: 32 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3267, allocations: 4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3267, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3267, allocations: 4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.3268, allocations: 135.5 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.3268, allocations: 88.98 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3268, allocations: 0 / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.3269, allocations: 0 / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-06/0.3269, allocations: 4.031 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3269, allocations: 0 / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.327, allocations: 95.27 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.327, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000225/0.3272, allocations: 7.938 kB / 1.325 GB, free: 15.18 MB / 1.029 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.0005387/0.3277, allocations: 0.675 MB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.3278, allocations: 11.94 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3278, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.3278, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.328, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3291, allocations: 1.179 MB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3294, allocations: 0.6768 MB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.858e-05/0.3295, allocations: 12.55 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.3295, allocations: 15.44 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3295, allocations: 3.938 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.353, allocations: 1.39 MB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.651, allocations: 6.625 kB / 1.328 GB, free: 11.14 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.203932099044323] Failed to read output from testmodel.py, exit status != 0: 8.718465429963544 8.739901635 8.411804662 Calling exit ...