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.001027/0.001027, 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.001001/0.001001, allocations: 192.4 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 282.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8519/0.8519, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 98.77 kB / 0.5948 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1239, allocations: 86.97 MB / 0.6797 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002405/0.1263, allocations: 1.426 MB / 0.6811 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.1265, allocations: 47.75 kB / 0.6812 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.1265, allocations: 3.938 kB / 0.6812 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1266, allocations: 4 kB / 0.6812 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.1268, allocations: 15.94 kB / 0.6812 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.966e-06/0.1268, allocations: 0 / 0.6812 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.6e-05/0.1268, allocations: 19.92 kB / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1269, allocations: 288 / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.1269, allocations: 11.94 kB / 0.6812 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.1269, allocations: 11.97 kB / 0.6812 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.127, allocations: 0 / 0.6812 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.127, allocations: 12 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.127, allocations: 3.938 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.1271, allocations: 7.938 kB / 0.6813 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.1271, allocations: 43.89 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1272, allocations: 0 / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1272, allocations: 0 / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1272, allocations: 0 / 0.6813 GB, free: 15.42 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.0002645/0.1274, allocations: 331.4 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1275, allocations: 8.031 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.1275, allocations: 34.69 kB / 0.6817 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.1275, allocations: 8.938 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1277, allocations: 172.3 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.1277, allocations: 4.375 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.1277, allocations: 384 / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.388e-05/0.1278, allocations: 34.25 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1278, allocations: 3.938 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.1278, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1278, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.1278, allocations: 8 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.128, allocations: 153.7 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.152e-05/0.128, allocations: 22.52 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.128, allocations: 8.922 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.128, allocations: 0 / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.1281, allocations: 30.56 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1281, allocations: 3.938 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001138/0.1282, allocations: 49.56 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1282, allocations: 51.41 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.1283, allocations: 118 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1283, allocations: 29.7 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1284, allocations: 88.12 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.1284, allocations: 3.906 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1284, allocations: 17.7 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.1285, allocations: 310.8 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1285, allocations: 7.938 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.1285, allocations: 4 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.1286, allocations: 12.92 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1286, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.463e-05/0.1286, allocations: 45.62 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1287, allocations: 7.938 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1287, allocations: 0 / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.1287, allocations: 0 / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.1287, allocations: 4 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1287, allocations: 0 / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.1287, allocations: 0 / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.1287, allocations: 4.031 kB / 0.6828 GB, free: 13.64 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 5.956e-05/0.1288, allocations: 107.2 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1288, allocations: 11.84 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.1289, allocations: 45.22 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1289, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1289, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1289, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.912e-05/0.129, allocations: 165.5 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.129, allocations: 4 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.129, allocations: 8.031 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1291, allocations: 3.938 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.1291, allocations: 0 / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1291, allocations: 0 / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1291, allocations: 0 / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.16e-05/0.1291, allocations: 65.11 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.1292, allocations: 77.11 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1292, allocations: 15.91 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.1292, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-06/0.1292, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.1292, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.1293, allocations: 91.27 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1293, allocations: 0 / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001741/0.1295, allocations: 11.91 kB / 0.6834 GB, free: 12.95 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.0003449/0.1298, allocations: 0.6069 MB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.1299, allocations: 8 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1299, allocations: 0 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.1299, allocations: 8.078 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.13, allocations: 19.19 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.1308, allocations: 1.109 MB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.131, allocations: 0.6768 MB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1311, allocations: 3.984 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1311, allocations: 19.38 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1311, allocations: 0 / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4921/0.6232, allocations: 1.312 MB / 0.6871 GB, free: 9.219 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.6235, allocations: 221.5 kB / 0.6873 GB, free: 8.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/3.048, allocations: 0 / 0.6873 GB, free: 8.969 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)