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.003855/0.003855, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.0009938/0.0009939, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.279/1.279, allocations: 222.9 MB / 240.4 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.002084/0.002084, allocations: 298.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 99.84 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.41, allocations: 86.98 MB / 0.7664 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00223/0.4123, allocations: 1.34 MB / 0.7677 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.4125, allocations: 43.83 kB / 0.7677 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.4125, allocations: 0 / 0.7677 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4126, allocations: 11.92 kB / 0.7677 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.4128, allocations: 19.86 kB / 0.7678 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.4128, allocations: 0 / 0.7678 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.4128, allocations: 11.92 kB / 0.7678 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.4129, allocations: 11.38 kB / 0.7678 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.4129, allocations: 11.94 kB / 0.7678 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.413, allocations: 7.922 kB / 0.7678 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.413, allocations: 4 kB / 0.7678 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.4131, allocations: 16 kB / 0.7678 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.4131, allocations: 7.984 kB / 0.7678 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.4131, allocations: 3.938 kB / 0.7678 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.4132, allocations: 23.92 kB / 0.7679 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4132, allocations: 0 / 0.7679 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4132, allocations: 0 / 0.7679 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.4132, allocations: 0 / 0.7679 GB, free: 2.207 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.0003034/0.4135, allocations: 331.4 kB / 0.7682 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4136, allocations: 8.031 kB / 0.7682 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.4136, allocations: 0.9375 kB / 0.7682 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4138, allocations: 184.3 kB / 0.7684 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-06/0.4138, allocations: 4.375 kB / 0.7684 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.4138, allocations: 384 / 0.7684 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.4139, allocations: 38.19 kB / 0.7684 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.4139, allocations: 192 / 0.7684 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4139, allocations: 3.938 kB / 0.7684 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.4139, allocations: 0 / 0.7684 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.4139, allocations: 0 / 0.7684 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.4141, allocations: 161.7 kB / 0.7686 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.4141, allocations: 18.61 kB / 0.7686 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.4142, allocations: 4.859 kB / 0.7686 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.4142, allocations: 0 / 0.7686 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.4142, allocations: 38.56 kB / 0.7686 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.4142, allocations: 3.984 kB / 0.7686 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.4143, allocations: 45.62 kB / 0.7687 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.4144, allocations: 55.53 kB / 0.7687 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4145, allocations: 117.8 kB / 0.7688 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4145, allocations: 25.7 kB / 0.7689 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.4145, allocations: 80.14 kB / 0.7689 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.4146, allocations: 2.953 kB / 0.7689 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.4146, allocations: 17.72 kB / 0.769 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4147, allocations: 314.8 kB / 0.7693 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.4147, allocations: 4 kB / 0.7693 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-06/0.4147, allocations: 7.938 kB / 0.7693 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.4148, allocations: 8.859 kB / 0.7693 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4148, allocations: 3.938 kB / 0.7693 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.336e-05/0.4148, allocations: 37.7 kB / 0.7693 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4149, allocations: 4 kB / 0.7693 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4149, allocations: 7.922 kB / 0.7693 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4149, allocations: 0 / 0.7693 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.4149, allocations: 4 kB / 0.7693 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4149, allocations: 4.031 kB / 0.7693 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.415, allocations: 4 kB / 0.7693 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.415, allocations: 0 / 0.7693 GB, free: 484 kB / 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.924e-05/0.415, allocations: 109.8 kB / 0.7694 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4151, allocations: 7.844 kB / 0.7694 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.4151, allocations: 49.16 kB / 0.7695 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4152, allocations: 0 / 0.7695 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4152, allocations: 0 / 0.7695 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4152, allocations: 0 / 0.7695 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518e-05/0.4153, allocations: 157.7 kB / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4153, allocations: 0 / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.4153, allocations: 4 kB / 0.7696 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.4153, allocations: 0 / 0.7696 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.4153, allocations: 3.938 kB / 0.7697 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4153, allocations: 0 / 0.7697 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4153, allocations: 0 / 0.7697 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.414e-05/0.4154, allocations: 61.06 kB / 0.7697 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.4155, allocations: 85.05 kB / 0.7698 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4155, allocations: 7.938 kB / 0.7698 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.4155, allocations: 4 kB / 0.7698 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.4155, allocations: 3.984 kB / 0.7698 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.4155, allocations: 0 / 0.7698 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.4156, allocations: 87.28 kB / 0.7699 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4156, allocations: 0 / 0.7699 GB, free: 15.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001825/0.4158, allocations: 4 kB / 0.7699 GB, free: 15.8 MB / 0.545 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.0001807/0.4159, allocations: 120.7 kB / 0.77 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.416, allocations: 8 kB / 0.77 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.416, allocations: 0 / 0.77 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.4161, allocations: 11.88 kB / 0.77 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.4162, allocations: 4 kB / 0.77 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.4164, allocations: 101.8 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4167, allocations: 0.6768 MB / 0.7708 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.4167, allocations: 11.92 kB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.4167, allocations: 11.44 kB / 0.7708 GB, free: 14.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4167, allocations: 0 / 0.7708 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Templates: time 0.002277/0.419, allocations: 495.2 kB / 0.7713 GB, free: 14.32 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)