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) 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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001116/0.001116, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 287 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.8892/0.8892, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3566, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002189/0.3588, allocations: 1.363 MB / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.359, allocations: 47.81 kB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.359, allocations: 0 / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.3592, allocations: 7.938 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.246e-05/0.3593, allocations: 15.92 kB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.3593, allocations: 4 kB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.3593, allocations: 19.91 kB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.3594, allocations: 4 kB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.3594, allocations: 11.94 kB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.3595, allocations: 7.938 kB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3595, allocations: 0 / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.3595, allocations: 19.98 kB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.3596, allocations: 0 / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.3596, allocations: 11.94 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.371e-05/0.3597, allocations: 27.89 kB / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3597, allocations: 4 kB / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3597, allocations: 0 / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3597, allocations: 0 / 0.7685 GB, free: 2.363 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.0002732/0.36, allocations: 339.1 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.36, allocations: 15.97 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.3601, allocations: 0.9375 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3602, allocations: 172.3 kB / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3602, allocations: 384 / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.3602, allocations: 4.312 kB / 0.769 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.72e-05/0.3603, allocations: 38.25 kB / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.3603, allocations: 192 / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3603, allocations: 3.938 kB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.3603, allocations: 11.98 kB / 0.7691 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.3604, allocations: 4 kB / 0.7691 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.3605, allocations: 153.7 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.417e-05/0.3605, allocations: 22.55 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.3606, allocations: 4.859 kB / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3606, allocations: 4 kB / 0.7693 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3606, allocations: 34.62 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3606, allocations: 0 / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.3607, allocations: 41.62 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.3608, allocations: 55.41 kB / 0.7694 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.3609, allocations: 117.8 kB / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3609, allocations: 25.7 kB / 0.7695 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.3609, allocations: 88.27 kB / 0.7696 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3609, allocations: 0 / 0.7696 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.361, allocations: 17.66 kB / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.3611, allocations: 314.8 kB / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.3611, allocations: 8 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.3611, allocations: 0 / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.3611, allocations: 8.859 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3611, allocations: 4.062 kB / 0.77 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.192e-05/0.3612, allocations: 37.7 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3612, allocations: 4 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.3612, allocations: 0 / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3612, allocations: 7.922 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.848e-05/0.3613, allocations: 4 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3613, allocations: 3.938 kB / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.3613, allocations: 3.938 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.3613, allocations: 0 / 0.77 GB, free: 0.6211 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.797e-05/0.3614, allocations: 116.3 kB / 0.7701 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.3614, allocations: 3.906 kB / 0.7701 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.3615, allocations: 51.69 kB / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3615, allocations: 3.984 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3615, allocations: 0 / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3615, allocations: 81.05 kB / 0.7703 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.3615, allocations: 4 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/0.3615, allocations: 0 / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3616, allocations: 0 / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.094e-05/0.3616, allocations: 120.9 kB / 0.7704 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001122/0.3617, allocations: 214.7 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.406e-05/0.3618, allocations: 4 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.3618, allocations: 87.28 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.3618, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.3622, allocations: 107.1 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003307/0.3626, allocations: 0.5521 MB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of Templates: time 0.002176/0.3647, allocations: 0.5405 MB / 0.7718 GB, free: 14.66 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)