Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",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.001143/0.001143, 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.001217/0.001217, allocations: 195.7 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 278.6 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8769/0.8769, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 93.59 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1419, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002519/0.1445, allocations: 1.481 MB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1458, allocations: 1.099 MB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.1458, allocations: 9.281 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.146, allocations: 23.84 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1462, allocations: 27.86 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1463, allocations: 70.94 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1465, allocations: 143.6 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1466, allocations: 65.33 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.1467, allocations: 83.69 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1469, allocations: 55.7 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1469, allocations: 12 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.147, allocations: 20 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.1471, allocations: 55.88 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.1472, allocations: 79.52 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1474, allocations: 191.4 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1474, allocations: 4 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1474, allocations: 0 / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1474, allocations: 4 kB / 0.6836 GB, free: 13.17 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005928/0.148, allocations: 486.7 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1481, allocations: 12.03 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.1481, allocations: 46.67 kB / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.1482, allocations: 16.75 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1484, allocations: 259.9 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1486, allocations: 115.4 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1486, allocations: 16.36 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.1489, allocations: 157.5 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1489, allocations: 0 / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1489, allocations: 3.984 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.149, allocations: 15.98 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.149, allocations: 39.97 kB / 0.6847 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.15, allocations: 464.3 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.15, allocations: 38.56 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.1501, allocations: 20.86 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1501, allocations: 7.984 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1501, allocations: 38.5 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1501, allocations: 0 / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002377/0.1504, allocations: 105.9 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.1504, allocations: 55.34 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1506, allocations: 220.3 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1506, allocations: 29.7 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.1507, allocations: 124.1 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1507, allocations: 23.64 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1508, allocations: 29.72 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.1509, allocations: 326.8 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.151, allocations: 27.97 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.1511, allocations: 102.3 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1512, allocations: 142.1 kB / 0.6864 GB, free: 9.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1512, allocations: 4 kB / 0.6864 GB, free: 9.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002182/0.1514, allocations: 149.2 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1515, allocations: 8 kB / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1515, allocations: 0 / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1515, allocations: 4.375 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1516, allocations: 31.92 kB / 0.6866 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1516, allocations: 12 kB / 0.6866 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.1517, allocations: 11.84 kB / 0.6866 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1517, allocations: 4 kB / 0.6866 GB, free: 9.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001034/0.1518, allocations: 153.7 kB / 0.6868 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.1519, allocations: 15.81 kB / 0.6868 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.1521, allocations: 111.2 kB / 0.6869 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1521, allocations: 4 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1521, allocations: 3.938 kB / 0.6869 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1521, allocations: 0 / 0.6869 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1523, allocations: 237.5 kB / 0.6871 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1523, allocations: 4 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.1524, allocations: 15.94 kB / 0.6871 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1524, allocations: 0 / 0.6871 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1524, allocations: 4 kB / 0.6871 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1524, allocations: 3.938 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1524, allocations: 3.938 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1526, allocations: 191.3 kB / 0.6873 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.1526, allocations: 85.02 kB / 0.6874 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1527, allocations: 4 kB / 0.6874 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.1529, allocations: 11.98 kB / 0.6874 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1529, allocations: 11.92 kB / 0.6874 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1529, allocations: 15.98 kB / 0.6875 GB, free: 8.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1531, allocations: 157.5 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1531, allocations: 11.94 kB / 0.6876 GB, free: 8.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1534, allocations: 31.84 kB / 0.6877 GB, free: 8.609 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 (8): * Single equations (assignments): 8 * 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.0004993/0.1539, allocations: 0.7553 MB / 0.6884 GB, free: 7.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.154, allocations: 79.83 kB / 0.6885 GB, free: 7.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.154, allocations: 0 / 0.6885 GB, free: 7.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.1541, allocations: 23.94 kB / 0.6885 GB, free: 7.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1544, allocations: 34.48 kB / 0.6885 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.156, allocations: 1.909 MB / 0.6904 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1563, allocations: 0.7314 MB / 0.6911 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1564, allocations: 44.91 kB / 0.6911 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.1565, allocations: 55.41 kB / 0.6912 GB, free: 4.781 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1565, allocations: 4 kB / 0.6912 GB, free: 4.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/0.3422, allocations: 4.179 MB / 0.6953 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.9, allocations: 2.656 kB / 0.6953 GB, free: 0.7266 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)