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.001259/0.001259, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001252/0.001252, allocations: 189.2 kB / 17.34 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.426/1.426, allocations: 222.9 MB / 241 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.002553/0.002553, allocations: 297.9 kB / 291.5 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 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 95.86 kB / 0.6821 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4417, allocations: 86.98 MB / 0.7671 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002632/0.4443, allocations: 1.34 MB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.4445, allocations: 43.81 kB / 0.7684 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.4446, allocations: 0 / 0.7684 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.4447, allocations: 11.86 kB / 0.7684 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4448, allocations: 11.94 kB / 0.7684 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.4448, allocations: 0 / 0.7684 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.4449, allocations: 15.92 kB / 0.7684 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.4449, allocations: 7.984 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.445, allocations: 11.94 kB / 0.7685 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.445, allocations: 15.86 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.445, allocations: 4 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.4451, allocations: 12 kB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.4451, allocations: 4 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.4452, allocations: 7.938 kB / 0.7685 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.593e-05/0.4452, allocations: 27.42 kB / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4453, allocations: 0 / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4453, allocations: 0 / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4453, allocations: 0 / 0.7685 GB, free: 2.305 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.0005015/0.4458, allocations: 333.6 kB / 0.7688 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4458, allocations: 12.03 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4458, allocations: 8.891 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.4461, allocations: 172.4 kB / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.4461, allocations: 384 / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.4461, allocations: 384 / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.4462, allocations: 34.25 kB / 0.7691 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4462, allocations: 192 / 0.7691 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.4462, allocations: 3.938 kB / 0.7691 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.4463, allocations: 8 kB / 0.7691 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.4463, allocations: 3.938 kB / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.4466, allocations: 161.7 kB / 0.7692 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.4466, allocations: 14.64 kB / 0.7692 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.4466, allocations: 8.859 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4467, allocations: 3.984 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4467, allocations: 30.56 kB / 0.7693 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4467, allocations: 0 / 0.7693 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.4468, allocations: 57.52 kB / 0.7693 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4469, allocations: 51.41 kB / 0.7694 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.447, allocations: 109.8 kB / 0.7695 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.447, allocations: 25.7 kB / 0.7695 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.4471, allocations: 88.14 kB / 0.7696 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.4471, allocations: 3.938 kB / 0.7696 GB, free: 1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.4471, allocations: 13.72 kB / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.4474, allocations: 318.8 kB / 0.7699 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.4474, allocations: 4.125 kB / 0.7699 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.4474, allocations: 4 kB / 0.7699 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.4474, allocations: 12.73 kB / 0.7699 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4474, allocations: 4 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001083/0.4475, allocations: 37.66 kB / 0.77 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4476, allocations: 11.98 kB / 0.77 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4476, allocations: 3.938 kB / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4476, allocations: 0 / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.4476, allocations: 4.094 kB / 0.77 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4476, allocations: 3.938 kB / 0.77 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.4477, allocations: 4 kB / 0.77 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4477, allocations: 0 / 0.77 GB, free: 0.5625 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 7.541e-05/0.4477, allocations: 108.2 kB / 0.7701 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.4477, allocations: 4 kB / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.4478, allocations: 49.09 kB / 0.7702 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4478, allocations: 0 / 0.7702 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4478, allocations: 4 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.4478, allocations: 4.031 kB / 0.7702 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.448, allocations: 149.7 kB / 0.7703 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.448, allocations: 0 / 0.7703 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.448, allocations: 4 kB / 0.7703 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.448, allocations: 0 / 0.7703 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.448, allocations: 3.938 kB / 0.7703 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.448, allocations: 4 kB / 0.7703 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.448, allocations: 3.984 kB / 0.7703 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.4481, allocations: 61.09 kB / 0.7704 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.4482, allocations: 81.05 kB / 0.7705 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.4482, allocations: 3.938 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.4482, allocations: 0 / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.4482, allocations: 11.98 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.4482, allocations: 4 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.4483, allocations: 91.58 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4483, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002021/0.4485, allocations: 4 kB / 0.7706 GB, free: 15.88 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.0001907/0.4487, allocations: 113.5 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.4488, allocations: 4 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4488, allocations: 7.938 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.4488, allocations: 0 / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.4489, allocations: 12.12 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.4492, allocations: 105.4 kB / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.4495, allocations: 0.6807 MB / 0.7715 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.4495, allocations: 7.922 kB / 0.7715 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.4495, allocations: 11.44 kB / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4495, allocations: 0 / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of Templates: time 0.002612/0.4521, allocations: 491.8 kB / 0.772 GB, free: 14.41 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)