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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 196 kB / 16.53 MB, free: 6.664 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.23/1.23, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 278.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 102.5 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1464, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00279/0.1492, allocations: 1.361 MB / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.1494, allocations: 43.77 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.1495, allocations: 0.7188 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.1497, allocations: 11.94 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1498, allocations: 16.78 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.1498, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.1499, allocations: 16.56 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.15, allocations: 6.109 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.15, allocations: 15.92 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.1501, allocations: 4 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1501, allocations: 0 / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.1502, allocations: 12 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1502, allocations: 15.91 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.1502, allocations: 15.94 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.1503, allocations: 19.92 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1504, allocations: 4 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1504, allocations: 0 / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1504, allocations: 3.938 kB / 0.6818 GB, free: 15.06 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.0003191/0.1507, allocations: 339.4 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1507, allocations: 8.031 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1508, allocations: 30.75 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.1508, allocations: 0.9375 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.151, allocations: 184.3 kB / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.151, allocations: 384 / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.151, allocations: 384 / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.1511, allocations: 34.27 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1511, allocations: 3.938 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.1511, allocations: 0 / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.1511, allocations: 3.938 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.1512, allocations: 7.938 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1513, allocations: 157.7 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.1514, allocations: 18.56 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.1514, allocations: 8.922 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1514, allocations: 0 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1514, allocations: 34.56 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.364e-06/0.1515, allocations: 0 / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.1516, allocations: 45.52 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1516, allocations: 55.53 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1517, allocations: 113.8 kB / 0.6828 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1517, allocations: 29.69 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.1518, allocations: 88.14 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1518, allocations: 3.906 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1518, allocations: 9.719 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.152, allocations: 318.8 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.152, allocations: 0 / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.152, allocations: 8 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.152, allocations: 12.84 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.152, allocations: 0 / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.1521, allocations: 37.64 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1521, allocations: 11.94 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1521, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1521, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.1522, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1522, allocations: 96 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1522, allocations: 11.98 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1522, allocations: 0 / 0.6833 GB, free: 13.28 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 6.342e-05/0.1523, allocations: 107.2 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.1523, allocations: 11.84 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.1524, allocations: 45.16 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1524, allocations: 4 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1524, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1524, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1525, allocations: 165.6 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1526, allocations: 0 / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.1526, allocations: 0 / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1526, allocations: 7.938 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1526, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1526, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1526, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.1527, allocations: 61.12 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.1527, allocations: 85.08 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1528, allocations: 3.938 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.1528, allocations: 7.938 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1528, allocations: 3.984 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1528, allocations: 0 / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.1529, allocations: 95.22 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1529, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.1531, allocations: 7.906 kB / 0.6839 GB, free: 12.58 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.000385/0.1535, allocations: 0.6186 MB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.1535, allocations: 8.031 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1535, allocations: 4.062 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.1536, allocations: 7.938 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1537, allocations: 9.656 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.1546, allocations: 1.106 MB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.1548, allocations: 0.6768 MB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.1549, allocations: 4 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1549, allocations: 15.42 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1549, allocations: 4.031 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/0.3557, allocations: 1.373 MB / 0.6876 GB, free: 8.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.913, allocations: 4.062 kB / 0.6876 GB, free: 8.746 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)