Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_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.004353/0.004353, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001231/0.001231, allocations: 202.5 kB / 16.68 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 286.9 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 100.2 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1624, allocations: 86.98 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002505/0.165, allocations: 1.34 MB / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.1652, allocations: 39.81 kB / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.1652, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1654, allocations: 11.92 kB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.1655, allocations: 7.938 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-06/0.1655, allocations: 3.938 kB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.1655, allocations: 19.92 kB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1656, allocations: 8.266 kB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.1656, allocations: 4 kB / 0.7673 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.1657, allocations: 23.86 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1657, allocations: 0 / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.1657, allocations: 4 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1658, allocations: 4 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1658, allocations: 7.938 kB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.621e-05/0.1659, allocations: 27.84 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1659, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1659, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1659, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 GB 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.0003684/0.1663, allocations: 339.3 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1663, allocations: 12.03 kB / 0.7677 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1664, allocations: 38.69 kB / 0.7677 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.1664, allocations: 4.938 kB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1666, allocations: 172.3 kB / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-06/0.1666, allocations: 384 / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1666, allocations: 384 / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.1667, allocations: 38.25 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1667, allocations: 7.875 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1668, allocations: 7.969 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1668, allocations: 4 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.1668, allocations: 4 kB / 0.768 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1671, allocations: 241 kB / 0.7682 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.1671, allocations: 18.52 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.1672, allocations: 8.922 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1672, allocations: 3.938 kB / 0.7682 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1672, allocations: 42.55 kB / 0.7683 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1672, allocations: 0 / 0.7683 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.1673, allocations: 37.7 kB / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1674, allocations: 51.41 kB / 0.7684 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1675, allocations: 109.8 kB / 0.7685 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1675, allocations: 25.7 kB / 0.7685 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.1676, allocations: 92.12 kB / 0.7686 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.1676, allocations: 7.891 kB / 0.7686 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1676, allocations: 13.84 kB / 0.7686 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1678, allocations: 322.8 kB / 0.7689 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.1678, allocations: 3.938 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1678, allocations: 0 / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.1678, allocations: 8.859 kB / 0.7689 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1678, allocations: 7.922 kB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.887e-05/0.1679, allocations: 37.7 kB / 0.769 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1679, allocations: 8 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1679, allocations: 4.094 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1679, allocations: 0 / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.168, allocations: 0 / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.168, allocations: 320 / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.168, allocations: 0 / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.168, allocations: 4 kB / 0.769 GB, free: 5.535 MB / 0.5606 GB 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 7.861e-05/0.1681, allocations: 118.4 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1681, allocations: 7.953 kB / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.1682, allocations: 41.23 kB / 0.7691 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1682, allocations: 0 / 0.7691 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1682, allocations: 3.984 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1682, allocations: 4 kB / 0.7691 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1684, allocations: 153.6 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1684, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.1685, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.1685, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1685, allocations: 8 kB / 0.7693 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1685, allocations: 0 / 0.7693 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1685, allocations: 0 / 0.7693 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1686, allocations: 139.5 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1686, allocations: 81.06 kB / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.1687, allocations: 0 / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.1687, allocations: 0 / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1687, allocations: 4 kB / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1688, allocations: 0 / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.1688, allocations: 99.25 kB / 0.7696 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1688, allocations: 4.031 kB / 0.7696 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003083/0.1691, allocations: 7.938 kB / 0.7696 GB, free: 4.777 MB / 0.5606 GB 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.0005089/0.1697, allocations: 0.6888 MB / 0.7703 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.1697, allocations: 7.984 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1697, allocations: 0 / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.1698, allocations: 4 kB / 0.7703 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.17, allocations: 6.344 kB / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1711, allocations: 1.186 MB / 0.7715 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1714, allocations: 0.6768 MB / 0.7721 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.492e-05/0.1715, allocations: 11.98 kB / 0.7721 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.1715, allocations: 15.44 kB / 0.7722 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1715, allocations: 0 / 0.7722 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/0.3104, allocations: 1.39 MB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/9.698, allocations: 15.12 kB / 0.7735 GB, free: 0.7422 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)