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.0009695/0.0009735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000994/0.000994, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 279 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.854/0.854, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 91.09 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 86.98 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002354/0.1267, allocations: 1.536 MB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1278, allocations: 1.08 MB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.1279, allocations: 3.938 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.128, allocations: 19.91 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1282, allocations: 27.92 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1283, allocations: 55.86 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1285, allocations: 147.6 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1286, allocations: 65.3 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.1287, allocations: 79.77 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1289, allocations: 67.62 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1289, allocations: 12 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.129, allocations: 28 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.129, allocations: 47.88 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.1291, allocations: 79.58 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1293, allocations: 195.4 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1293, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1293, allocations: 3.938 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1293, allocations: 0 / 0.6831 GB, free: 13.54 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.0005604/0.1299, allocations: 490.7 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1299, allocations: 16.02 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.13, allocations: 38.75 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.13, allocations: 20.75 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1303, allocations: 263.8 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1304, allocations: 115.4 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1304, allocations: 8.375 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1307, allocations: 159.6 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.1307, allocations: 0 / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1308, allocations: 3.938 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1308, allocations: 15.98 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.1309, allocations: 47.91 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.1318, allocations: 460.3 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.1318, allocations: 38.5 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1319, allocations: 20.86 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1319, allocations: 3.984 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1319, allocations: 38.56 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1319, allocations: 4 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002127/0.1321, allocations: 101.7 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1322, allocations: 55.34 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1324, allocations: 220.3 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1324, allocations: 29.7 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.1325, allocations: 120.1 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1325, allocations: 23.7 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1325, allocations: 29.72 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.1326, allocations: 338.8 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.1327, allocations: 23.98 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.1328, allocations: 94.28 kB / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1329, allocations: 146.1 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1329, allocations: 0 / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.1331, allocations: 153.5 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1332, allocations: 8 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1332, allocations: 0 / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1332, allocations: 4 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.1333, allocations: 31.92 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1333, allocations: 7.938 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.1333, allocations: 11.84 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1334, allocations: 8 kB / 0.6861 GB, free: 10.13 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.0001064/0.1335, allocations: 145.8 kB / 0.6862 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1335, allocations: 23.75 kB / 0.6863 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.1337, allocations: 111.2 kB / 0.6864 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1337, allocations: 0 / 0.6864 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1337, allocations: 3.938 kB / 0.6864 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1337, allocations: 0 / 0.6864 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1339, allocations: 233.5 kB / 0.6866 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.134, allocations: 0 / 0.6866 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.134, allocations: 16 kB / 0.6866 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.134, allocations: 4 kB / 0.6866 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.134, allocations: 8 kB / 0.6866 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.134, allocations: 3.984 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.134, allocations: 3.938 kB / 0.6866 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1342, allocations: 191.2 kB / 0.6868 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1343, allocations: 88.94 kB / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1343, allocations: 8 kB / 0.6869 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.1345, allocations: 19.98 kB / 0.6869 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1345, allocations: 7.922 kB / 0.6869 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.1346, allocations: 11.98 kB / 0.6869 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1347, allocations: 165.5 kB / 0.6871 GB, free: 9.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1347, allocations: 0 / 0.6871 GB, free: 9.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.135, allocations: 35.84 kB / 0.6871 GB, free: 8.973 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.0004785/0.1355, allocations: 0.7473 MB / 0.6879 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1356, allocations: 81.06 kB / 0.6879 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1356, allocations: 4.062 kB / 0.6879 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.1357, allocations: 27.98 kB / 0.688 GB, free: 8.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1359, allocations: 24.03 kB / 0.688 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1375, allocations: 1.949 MB / 0.6899 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1378, allocations: 0.7353 MB / 0.6906 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1379, allocations: 48.91 kB / 0.6907 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.138, allocations: 51.34 kB / 0.6907 GB, free: 5.109 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.138, allocations: 0 / 0.6907 GB, free: 5.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.629/1.767, allocations: 4.099 MB / 0.6947 GB, free: 1.184 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.767, allocations: 216.8 kB / 0.6949 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.96, allocations: 1.969 kB / 0.6949 GB, free: 0.9297 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)