Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.007006/0.007006, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001651/0.001651, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 277.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9876/0.9876, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 99.84 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1716, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002557/0.1742, allocations: 1.457 MB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.1751, allocations: 0.4992 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.1751, allocations: 0 / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.1752, allocations: 3.984 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1754, allocations: 19.86 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.1755, allocations: 31.89 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.1756, allocations: 47.84 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.1757, allocations: 12 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1758, allocations: 27.91 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1759, allocations: 19.92 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1759, allocations: 4 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.176, allocations: 4 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.176, allocations: 11.92 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.176, allocations: 31.84 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1762, allocations: 35.89 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1762, allocations: 0 / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1762, allocations: 0 / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1762, allocations: 4 kB / 0.7681 GB, free: 6.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005632/0.1768, allocations: 355.4 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1768, allocations: 12.03 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1768, allocations: 34.73 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1769, allocations: 4.844 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.177, allocations: 164.4 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.177, allocations: 16.31 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1771, allocations: 384 / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1772, allocations: 61.73 kB / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1772, allocations: 0 / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1772, allocations: 3.984 kB / 0.7687 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1772, allocations: 0 / 0.7687 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.1773, allocations: 27.98 kB / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.1777, allocations: 276.7 kB / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1779, allocations: 70.61 kB / 0.769 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.1779, allocations: 20.86 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.178, allocations: 0 / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1781, allocations: 71.38 kB / 0.7691 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1781, allocations: 0 / 0.7691 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002204/0.1784, allocations: 89.61 kB / 0.7692 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1784, allocations: 55.41 kB / 0.7693 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.1785, allocations: 105.8 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1785, allocations: 25.7 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1786, allocations: 88.08 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1786, allocations: 19.73 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1786, allocations: 17.72 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.1787, allocations: 322.8 kB / 0.7698 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.1788, allocations: 20 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.1788, allocations: 15.98 kB / 0.7699 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.696e-05/0.1789, allocations: 32.86 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1789, allocations: 0 / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001225/0.179, allocations: 81.58 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.179, allocations: 4 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1791, allocations: 4 kB / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1791, allocations: 0 / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.1791, allocations: 8 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1792, allocations: 3.984 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.1792, allocations: 8 kB / 0.77 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1793, allocations: 256 / 0.77 GB, free: 4.484 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.854e-05/0.1793, allocations: 118.4 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.1794, allocations: 3.906 kB / 0.7701 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.1796, allocations: 113.7 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1796, allocations: 3.984 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1796, allocations: 0 / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1796, allocations: 3.984 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1797, allocations: 189.5 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1797, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.1798, allocations: 15.92 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1798, allocations: 0 / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1798, allocations: 0 / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1798, allocations: 4 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1798, allocations: 0 / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.18, allocations: 120.9 kB / 0.7705 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1801, allocations: 77.11 kB / 0.7706 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1801, allocations: 12 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1802, allocations: 3.984 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1802, allocations: 4 kB / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1802, allocations: 7.984 kB / 0.7706 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.1803, allocations: 83.28 kB / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.643e-06/0.1803, allocations: 0 / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001837/0.1805, allocations: 11.94 kB / 0.7707 GB, free: 3.625 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004261/0.1809, allocations: 0.6709 MB / 0.7714 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.181, allocations: 48.2 kB / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1811, allocations: 0 / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.1811, allocations: 39.86 kB / 0.7715 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1813, allocations: 4 kB / 0.7715 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1824, allocations: 1.23 MB / 0.7727 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1826, allocations: 0.6924 MB / 0.7734 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.1826, allocations: 7.75 kB / 0.7734 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.1827, allocations: 19.42 kB / 0.7734 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1827, allocations: 0 / 0.7734 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3274/0.5101, allocations: 1.689 MB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.778, allocations: 12.88 kB / 0.775 GB, free: 14.36 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)