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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001208, allocations: 194.8 kB / 16.14 MB, free: 6.707 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.215/1.215, 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.001944/0.001944, allocations: 291 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 0.8708/0.8708, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 92.83 kB / 0.5946 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1362, allocations: 86.98 MB / 0.6795 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002492/0.1387, allocations: 1.418 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000138/0.1389, allocations: 44.59 kB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1389, allocations: 3.938 kB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1391, allocations: 12.66 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.1392, allocations: 8.875 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.475e-06/0.1392, allocations: 0 / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.1393, allocations: 15.92 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.1393, allocations: 10.33 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1393, allocations: 7.938 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.1394, allocations: 7.984 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1394, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.1394, allocations: 11.94 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.1395, allocations: 11.94 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.1395, allocations: 3.938 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.1396, allocations: 35.89 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1396, allocations: 4 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1396, allocations: 0 / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1396, allocations: 0 / 0.6811 GB, free: 15.53 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.0002751/0.1399, allocations: 331.5 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1399, allocations: 8.031 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.14, allocations: 34.75 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.14, allocations: 4.938 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1401, allocations: 176.3 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.1401, allocations: 384 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-06/0.1402, allocations: 384 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.875e-05/0.1402, allocations: 34.25 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1402, allocations: 3.938 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.1403, allocations: 0 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.1403, allocations: 3.938 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1403, allocations: 4 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.1404, allocations: 169.7 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.1405, allocations: 18.58 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.1405, allocations: 4.859 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1405, allocations: 0 / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1405, allocations: 34.55 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1406, allocations: 64 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.1407, allocations: 45.67 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1407, allocations: 59.38 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.1408, allocations: 117.8 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1408, allocations: 25.7 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1409, allocations: 88.08 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1409, allocations: 3.906 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1409, allocations: 17.7 kB / 0.6822 GB, free: 14.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.141, allocations: 310.8 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.141, allocations: 8 kB / 0.6825 GB, free: 13.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.141, allocations: 4 kB / 0.6825 GB, free: 13.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.141, allocations: 12.8 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1411, allocations: 0 / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.653e-05/0.1411, allocations: 37.69 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1411, allocations: 7.938 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1411, allocations: 0 / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1412, allocations: 0 / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.1412, allocations: 4 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1412, allocations: 4.094 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.1412, allocations: 0 / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.1412, allocations: 0 / 0.6826 GB, free: 13.75 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.203e-05/0.1413, allocations: 115.2 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1413, allocations: 11.83 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.1414, allocations: 45.17 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1414, allocations: 0 / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1414, allocations: 0 / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1414, allocations: 4.016 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.1415, allocations: 165.6 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1415, allocations: 0 / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.1416, allocations: 4 kB / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1416, allocations: 3.938 kB / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-06/0.1416, allocations: 0 / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1416, allocations: 0 / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1416, allocations: 0 / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.574e-05/0.1416, allocations: 69.06 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.1417, allocations: 81.11 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1417, allocations: 3.938 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.1417, allocations: 0 / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.1417, allocations: 3.938 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.1417, allocations: 4 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.1418, allocations: 99.56 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.142, allocations: 3.906 kB / 0.6832 GB, free: 13.05 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.0003547/0.1424, allocations: 0.6189 MB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.479e-05/0.1424, allocations: 11.97 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1424, allocations: 0 / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.1424, allocations: 7.984 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1426, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.1433, allocations: 1.112 MB / 0.6849 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.1435, allocations: 0.677 MB / 0.6856 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.1436, allocations: 7.984 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.1436, allocations: 15.41 kB / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1436, allocations: 0 / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7494/0.893, allocations: 1.278 MB / 0.6868 GB, free: 9.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.8933, allocations: 223.6 kB / 0.687 GB, free: 9.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.846, allocations: 0 / 0.687 GB, free: 9.086 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)