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.001659/0.001659, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001904/0.001904, allocations: 192.6 kB / 16.14 MB, free: 6.723 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0025/0.0025, allocations: 282.9 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 96.92 kB / 0.6057 GB, free: 25.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1495, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002687/0.1523, allocations: 1.412 MB / 0.6942 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.1524, allocations: 39.81 kB / 0.6942 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1525, allocations: 0.6562 kB / 0.6942 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1526, allocations: 15.94 kB / 0.6942 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.162e-05/0.1527, allocations: 7.422 kB / 0.6942 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.475e-06/0.1527, allocations: 0 / 0.6942 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.1528, allocations: 15.94 kB / 0.6942 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1528, allocations: 0 / 0.6942 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.1529, allocations: 11.92 kB / 0.6942 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.1529, allocations: 11.92 kB / 0.6943 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1529, allocations: 0 / 0.6943 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.153, allocations: 12 kB / 0.6943 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.153, allocations: 3.938 kB / 0.6943 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.153, allocations: 8.719 kB / 0.6943 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.1531, allocations: 27.91 kB / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1531, allocations: 1.312 kB / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1531, allocations: 0 / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1532, allocations: 0 / 0.6943 GB, free: 3.27 MB / 494.1 MB 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.0003844/0.1535, allocations: 339.7 kB / 0.6946 GB, free: 2.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1536, allocations: 16.02 kB / 0.6946 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.1536, allocations: 0.9375 kB / 0.6946 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1538, allocations: 172.2 kB / 0.6948 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1538, allocations: 384 / 0.6948 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.1538, allocations: 384 / 0.6948 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.1539, allocations: 34.25 kB / 0.6948 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1539, allocations: 192 / 0.6948 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.154, allocations: 7.922 kB / 0.6949 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.154, allocations: 7.938 kB / 0.6949 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.154, allocations: 7.938 kB / 0.6949 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1542, allocations: 153.7 kB / 0.695 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.1542, allocations: 14.58 kB / 0.695 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.1542, allocations: 12.92 kB / 0.695 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1543, allocations: 0 / 0.695 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1543, allocations: 30.56 kB / 0.6951 GB, free: 2.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1543, allocations: 4 kB / 0.6951 GB, free: 2.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.1544, allocations: 45.56 kB / 0.6951 GB, free: 2.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1545, allocations: 51.41 kB / 0.6952 GB, free: 2.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1546, allocations: 121.7 kB / 0.6953 GB, free: 2.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1547, allocations: 25.7 kB / 0.6953 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.1547, allocations: 84.14 kB / 0.6954 GB, free: 1.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1547, allocations: 4 kB / 0.6954 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1548, allocations: 9.719 kB / 0.6954 GB, free: 1.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1549, allocations: 323 kB / 0.6957 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.1549, allocations: 0 / 0.6957 GB, free: 1.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1549, allocations: 0 / 0.6957 GB, free: 1.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.155, allocations: 12.86 kB / 0.6957 GB, free: 1.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.155, allocations: 0 / 0.6957 GB, free: 1.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.001e-05/0.155, allocations: 41.62 kB / 0.6958 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1551, allocations: 4 kB / 0.6958 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1551, allocations: 7.938 kB / 0.6958 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1551, allocations: 4.094 kB / 0.6958 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.1551, allocations: 0 / 0.6958 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1551, allocations: 0 / 0.6958 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.1552, allocations: 0 / 0.6958 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1552, allocations: 4 kB / 0.6958 GB, free: 1.535 MB / 494.1 MB 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.926e-05/0.1553, allocations: 105.8 kB / 0.6959 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1553, allocations: 7.906 kB / 0.6959 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.1554, allocations: 49.09 kB / 0.6959 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1554, allocations: 7.969 kB / 0.6959 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1554, allocations: 0 / 0.6959 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1554, allocations: 0 / 0.6959 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1555, allocations: 157.7 kB / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1555, allocations: 0 / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.1556, allocations: 11.92 kB / 0.6961 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1556, allocations: 0 / 0.6961 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1556, allocations: 3.938 kB / 0.6961 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1556, allocations: 0 / 0.6961 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.1556, allocations: 4 kB / 0.6961 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.353e-05/0.1557, allocations: 61.14 kB / 0.6962 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1557, allocations: 85 kB / 0.6962 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1557, allocations: 3.938 kB / 0.6963 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-06/0.1558, allocations: 0 / 0.6963 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1558, allocations: 3.938 kB / 0.6963 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1558, allocations: 0 / 0.6963 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.1558, allocations: 95.27 kB / 0.6963 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1559, allocations: 0 / 0.6963 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.156, allocations: 4.031 kB / 0.6964 GB, free: 0.8438 MB / 494.1 MB 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.000186/0.1562, allocations: 111.9 kB / 0.6965 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.783e-05/0.1563, allocations: 4 kB / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1563, allocations: 0 / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.1563, allocations: 16.05 kB / 0.6965 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1565, allocations: 0 / 0.6965 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.1567, allocations: 115.5 kB / 0.6966 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.157, allocations: 0.6809 MB / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1571, allocations: 4 kB / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.1571, allocations: 7.438 kB / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1571, allocations: 4.062 kB / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.002632/0.1598, allocations: 477.5 kB / 0.6977 GB, free: 15.38 MB / 0.4981 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)