Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108.4 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 192.3 kB / 17.35 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 280.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8914/0.8914, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.353, allocations: 86.99 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002225/0.3552, allocations: 1.344 MB / 0.7684 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.3554, allocations: 35.89 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.3554, allocations: 3.938 kB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3555, allocations: 7.938 kB / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.3556, allocations: 15.91 kB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.016e-06/0.3556, allocations: 0 / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.3557, allocations: 15.94 kB / 0.7685 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.3557, allocations: 11.36 kB / 0.7685 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3558, allocations: 7.938 kB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.3558, allocations: 7.938 kB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3558, allocations: 0 / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/0.3559, allocations: 20 kB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.3559, allocations: 7.969 kB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.356, allocations: 11.94 kB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.406e-05/0.356, allocations: 19.86 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.356, allocations: 0 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3561, allocations: 0 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.3561, allocations: 0 / 0.7685 GB, free: 2.414 MB / 0.5294 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.0002837/0.3563, allocations: 335.4 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3564, allocations: 8.031 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.3564, allocations: 4.938 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3566, allocations: 180.3 kB / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-06/0.3566, allocations: 384 / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.3566, allocations: 384 / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.3567, allocations: 34.2 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.3567, allocations: 192 / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3567, allocations: 7.938 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3567, allocations: 0 / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.3567, allocations: 7.984 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.3569, allocations: 149.7 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.191e-05/0.3569, allocations: 26.56 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.3569, allocations: 8.922 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3569, allocations: 0 / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.357, allocations: 34.5 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.357, allocations: 0 / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.3571, allocations: 37.64 kB / 0.7693 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.3571, allocations: 55.53 kB / 0.7694 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3572, allocations: 117.8 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3572, allocations: 25.7 kB / 0.7695 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3573, allocations: 92.12 kB / 0.7696 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3573, allocations: 2.953 kB / 0.7696 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3573, allocations: 9.719 kB / 0.7696 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.3574, allocations: 314.8 kB / 0.7699 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.3574, allocations: 4 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-06/0.3574, allocations: 4 kB / 0.7699 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.3575, allocations: 16.78 kB / 0.7699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3575, allocations: 0 / 0.7699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.047e-05/0.3575, allocations: 33.7 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.3575, allocations: 4 kB / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3575, allocations: 4 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3576, allocations: 3.938 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.884e-05/0.3576, allocations: 0 / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-06/0.3576, allocations: 3.938 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.3576, allocations: 4.094 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3576, allocations: 7.984 kB / 0.77 GB, free: 0.6836 MB / 0.5294 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 5.469e-05/0.3577, allocations: 109.8 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3577, allocations: 7.844 kB / 0.7701 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.3578, allocations: 49.09 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3578, allocations: 0 / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3578, allocations: 0 / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3579, allocations: 81.11 kB / 0.7702 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.3579, allocations: 4.031 kB / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/0.3579, allocations: 0 / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3579, allocations: 0 / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.106e-05/0.358, allocations: 120.9 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.781e-05/0.3581, allocations: 210.7 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.701e-05/0.3581, allocations: 4 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.3582, allocations: 95.33 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Backend: time 2.3e-07/0.3582, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3586, allocations: 95.59 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003104/0.3589, allocations: 0.5534 MB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Templates: time 0.002396/0.3613, allocations: 0.512 MB / 0.7718 GB, free: 14.75 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)