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.005438/0.005439, allocations: 98.08 kB / 15.73 MB, free: 6.055 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.001469/0.001469, allocations: 199.3 kB / 16.68 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 278.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9853/0.9853, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 91.84 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1642, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00276/0.167, allocations: 1.478 MB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1686, allocations: 1.113 MB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.1686, allocations: 3.938 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1688, allocations: 15.86 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.169, allocations: 43.77 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1692, allocations: 58.78 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1694, allocations: 147.5 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1695, allocations: 65.38 kB / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1697, allocations: 75.77 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1698, allocations: 55.7 kB / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1699, allocations: 16 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.17, allocations: 31.98 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.17, allocations: 47.83 kB / 0.769 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.1701, allocations: 75.56 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1704, allocations: 199.2 kB / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1704, allocations: 0 / 0.7692 GB, free: 5.512 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007071/0.1711, allocations: 0.4984 MB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1712, allocations: 12.03 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.1712, allocations: 38.75 kB / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.1713, allocations: 16.84 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1716, allocations: 260.4 kB / 0.77 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.1718, allocations: 119.4 kB / 0.7701 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1718, allocations: 4.375 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1722, allocations: 159.9 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1722, allocations: 4 kB / 0.7703 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1722, allocations: 4 kB / 0.7703 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.1722, allocations: 15.92 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1723, allocations: 43.91 kB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.1733, allocations: 460.4 kB / 0.7708 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.1734, allocations: 38.5 kB / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.1735, allocations: 20.86 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.1735, allocations: 11.92 kB / 0.7709 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1735, allocations: 34.72 kB / 0.7709 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1735, allocations: 4 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002655/0.1738, allocations: 109.6 kB / 0.771 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1739, allocations: 59.28 kB / 0.7711 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1741, allocations: 216.4 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.1741, allocations: 25.7 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.1742, allocations: 128 kB / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1743, allocations: 27.92 kB / 0.7714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.1743, allocations: 29.66 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1745, allocations: 330.8 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.1746, allocations: 27.98 kB / 0.7718 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1747, allocations: 98.28 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1749, allocations: 146.1 kB / 0.772 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1749, allocations: 4 kB / 0.772 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002513/0.1751, allocations: 149.6 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1751, allocations: 8.062 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1752, allocations: 4 kB / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1752, allocations: 4 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.1753, allocations: 27.92 kB / 0.7722 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1753, allocations: 7.938 kB / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.1754, allocations: 11.89 kB / 0.7722 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1754, allocations: 8 kB / 0.7723 GB, free: 2.07 MB / 0.5606 GB 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.0001423/0.1755, allocations: 141.8 kB / 0.7724 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1756, allocations: 11.91 kB / 0.7724 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.1758, allocations: 135 kB / 0.7725 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1758, allocations: 7.922 kB / 0.7725 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1759, allocations: 3.938 kB / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1759, allocations: 0 / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1761, allocations: 229.6 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1761, allocations: 0 / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.1762, allocations: 12 kB / 0.7728 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1762, allocations: 0 / 0.7728 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1762, allocations: 7.984 kB / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1762, allocations: 0 / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1762, allocations: 8.328 kB / 0.7728 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1764, allocations: 191.4 kB / 0.773 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1765, allocations: 89.02 kB / 0.7731 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1765, allocations: 4 kB / 0.7731 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1768, allocations: 15.97 kB / 0.7731 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.1768, allocations: 11.94 kB / 0.7731 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1768, allocations: 15.98 kB / 0.7731 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001531/0.177, allocations: 161.5 kB / 0.7733 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 0 / 0.7733 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003851/0.1774, allocations: 27.94 kB / 0.7733 GB, free: 0.918 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 (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.000656/0.1781, allocations: 0.7577 MB / 0.774 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1782, allocations: 67.83 kB / 0.7741 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1782, allocations: 8.688 kB / 0.7741 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.1783, allocations: 23.98 kB / 0.7741 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1787, allocations: 28.16 kB / 0.7741 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2646/0.4433, allocations: 1.906 MB / 0.776 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.4435, allocations: 0.7351 MB / 0.7767 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.4438, allocations: 53.33 kB / 0.7768 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.4439, allocations: 49.25 kB / 0.7768 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.4439, allocations: 0 / 0.7768 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8047/1.249, allocations: 4.244 MB / 0.781 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.49, allocations: 3 kB / 0.781 GB, free: 12.21 MB / 0.5606 GB (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)