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.001057/0.001057, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001173/0.001173, allocations: 190.7 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 301.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.8774/0.8774, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3461, allocations: 86.97 MB / 0.767 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002234/0.3483, allocations: 1.36 MB / 0.7684 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.3485, allocations: 43.83 kB / 0.7684 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.3485, allocations: 0 / 0.7684 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3487, allocations: 19.91 kB / 0.7684 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.3488, allocations: 11.94 kB / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.407e-06/0.3488, allocations: 0 / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.3489, allocations: 19.92 kB / 0.7684 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3489, allocations: 4 kB / 0.7685 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.3489, allocations: 7.938 kB / 0.7685 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.349, allocations: 11.92 kB / 0.7685 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.349, allocations: 0 / 0.7685 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3491, allocations: 15.98 kB / 0.7685 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.3491, allocations: 0 / 0.7685 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.3491, allocations: 19.88 kB / 0.7685 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.3492, allocations: 27.89 kB / 0.7685 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3492, allocations: 0 / 0.7685 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3492, allocations: 4 kB / 0.7685 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.3492, allocations: 0 / 0.7685 GB, free: 2.527 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.0002845/0.3495, allocations: 339.3 kB / 0.7689 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3496, allocations: 11.97 kB / 0.7689 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.3496, allocations: 0.9375 kB / 0.7689 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3497, allocations: 176.3 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3498, allocations: 384 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3498, allocations: 4.375 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.3498, allocations: 30.25 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.3499, allocations: 192 / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3499, allocations: 3.938 kB / 0.7691 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3499, allocations: 8 kB / 0.7691 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.3499, allocations: 3.938 kB / 0.7691 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.35, allocations: 153.7 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.3501, allocations: 18.61 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.3501, allocations: 8.859 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.3501, allocations: 0 / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3502, allocations: 46.59 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3502, allocations: 0 / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.3503, allocations: 41.58 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3503, allocations: 51.41 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.3504, allocations: 121.7 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.3504, allocations: 25.7 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.3505, allocations: 88.08 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.3505, allocations: 4 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.3505, allocations: 17.83 kB / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.3506, allocations: 314.8 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.3506, allocations: 4 kB / 0.7699 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.3506, allocations: 0 / 0.7699 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.3507, allocations: 12.86 kB / 0.77 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3507, allocations: 0 / 0.77 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.261e-05/0.3507, allocations: 41.62 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3507, allocations: 4.094 kB / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3508, allocations: 4 kB / 0.77 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3508, allocations: 7.938 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.3508, allocations: 4 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3508, allocations: 0 / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.3508, allocations: 3.938 kB / 0.77 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3508, allocations: 0 / 0.77 GB, free: 0.7852 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.466e-05/0.3509, allocations: 116.2 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3509, allocations: 3.906 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.351, allocations: 57.05 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.351, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.351, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3511, allocations: 87.62 kB / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.3511, allocations: 0 / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.3511, allocations: 0 / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.3511, allocations: 0 / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.936e-05/0.3512, allocations: 109 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001103/0.3513, allocations: 222.7 kB / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.765e-05/0.3513, allocations: 4 kB / 0.7706 GB, free: 148 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.3514, allocations: 95.27 kB / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of Backend: time 2.31e-07/0.3514, allocations: 0 / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.3518, allocations: 99.78 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.000314/0.3521, allocations: 0.5494 MB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002175/0.3543, allocations: 0.5361 MB / 0.7718 GB, free: 14.83 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)