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.00123/0.00123, allocations: 108.9 kB / 16.41 MB, free: 6.516 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.001189/0.001189, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 297.7 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.8765/0.8765, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3524, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002331/0.3547, allocations: 1.34 MB / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.3549, allocations: 47.8 kB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3549, allocations: 4 kB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3551, allocations: 3.938 kB / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.3552, allocations: 15.92 kB / 0.7684 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.3552, allocations: 4 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.3553, allocations: 11.94 kB / 0.7685 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.3553, allocations: 15.3 kB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.3554, allocations: 11.98 kB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.3554, allocations: 7.938 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3554, allocations: 0 / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.3555, allocations: 16 kB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.3555, allocations: 0 / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.3555, allocations: 11.92 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.3556, allocations: 23.91 kB / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3556, allocations: 0 / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3556, allocations: 4 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3556, allocations: 0 / 0.7685 GB, free: 2.383 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.0002972/0.3559, allocations: 331.4 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.356, allocations: 8.031 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.356, allocations: 4.938 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3562, allocations: 176.3 kB / 0.769 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.3562, allocations: 384 / 0.769 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3562, allocations: 384 / 0.769 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.024e-05/0.3563, allocations: 34.2 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.3563, allocations: 4.188 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3563, allocations: 7.922 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3563, allocations: 0 / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.3564, allocations: 4 kB / 0.7691 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.3565, allocations: 157.7 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.3565, allocations: 14.58 kB / 0.7692 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.3566, allocations: 12.86 kB / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3566, allocations: 4 kB / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3566, allocations: 42.48 kB / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3566, allocations: 0 / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.3567, allocations: 37.64 kB / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3568, allocations: 51.41 kB / 0.7694 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.3569, allocations: 117.8 kB / 0.7695 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3569, allocations: 25.7 kB / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.3569, allocations: 88.27 kB / 0.7696 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3569, allocations: 6.938 kB / 0.7696 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.357, allocations: 13.72 kB / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3571, allocations: 310.8 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.3571, allocations: 7.938 kB / 0.7699 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.3571, allocations: 0 / 0.7699 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.3571, allocations: 8.859 kB / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3571, allocations: 0 / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.867e-05/0.3572, allocations: 45.75 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3572, allocations: 4 kB / 0.77 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3572, allocations: 0 / 0.77 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3573, allocations: 7.938 kB / 0.77 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.3573, allocations: 3.938 kB / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3573, allocations: 0 / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.3573, allocations: 0 / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.3573, allocations: 0 / 0.77 GB, free: 0.6602 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 6.952e-05/0.3574, allocations: 120.2 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.3574, allocations: 7.938 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.3575, allocations: 45.17 kB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3575, allocations: 0 / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3575, allocations: 0 / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.3576, allocations: 81.09 kB / 0.7702 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.3576, allocations: 4 kB / 0.7702 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.3576, allocations: 0 / 0.7702 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.3576, allocations: 0 / 0.7702 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.431e-05/0.3577, allocations: 113 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001147/0.3578, allocations: 214.7 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.858e-05/0.3578, allocations: 4 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.3579, allocations: 95.27 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3579, allocations: 0 / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.3583, allocations: 97.58 kB / 0.7707 GB, free: 15.84 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003416/0.3587, allocations: 0.5571 MB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of Templates: time 0.002318/0.361, allocations: 0.5057 MB / 0.7718 GB, free: 14.73 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)