Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001216/0.001216, allocations: 101 kB / 16.4 MB, free: 6.484 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.001261/0.001262, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 67.23 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1737, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003254/0.177, allocations: 1.435 MB / 0.633 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1781, allocations: 0.5025 MB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.1782, allocations: 0 / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.1782, allocations: 0 / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1785, allocations: 27.84 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.1787, allocations: 19.92 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1788, allocations: 59.83 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1789, allocations: 7.984 kB / 0.6336 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1791, allocations: 23.92 kB / 0.6336 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.1792, allocations: 31.89 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1792, allocations: 4 kB / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.1792, allocations: 8 kB / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.1793, allocations: 11.98 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.1793, allocations: 19.81 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1795, allocations: 46.67 kB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1795, allocations: 0 / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1795, allocations: 0 / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1795, allocations: 0 / 0.6337 GB, free: 2.688 MB / 478.1 MB 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.0007487/0.1803, allocations: 360.2 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1803, allocations: 8.031 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1804, allocations: 34.75 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1804, allocations: 0.9375 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1806, allocations: 172.3 kB / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1806, allocations: 4.375 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1806, allocations: 4.375 kB / 0.6343 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1808, allocations: 57.8 kB / 0.6344 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1808, allocations: 3.938 kB / 0.6344 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1808, allocations: 0 / 0.6344 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1808, allocations: 7.938 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.1809, allocations: 23.98 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.1814, allocations: 272.8 kB / 0.6346 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1817, allocations: 66.61 kB / 0.6347 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.1817, allocations: 28.84 kB / 0.6347 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1818, allocations: 4 kB / 0.6347 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.182, allocations: 67.38 kB / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.182, allocations: 0 / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002726/0.1823, allocations: 97.52 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1823, allocations: 51.41 kB / 0.6349 GB, free: 1.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.1824, allocations: 105.8 kB / 0.635 GB, free: 1.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1824, allocations: 25.7 kB / 0.6351 GB, free: 1.113 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1826, allocations: 84.14 kB / 0.6352 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1826, allocations: 19.75 kB / 0.6352 GB, free: 1.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.1827, allocations: 21.7 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1828, allocations: 318.8 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.1828, allocations: 16.23 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.1829, allocations: 12 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.183, allocations: 44.84 kB / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.183, allocations: 0 / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001451/0.1832, allocations: 81.53 kB / 0.6356 GB, free: 0.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1832, allocations: 8 kB / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1832, allocations: 0 / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1832, allocations: 0 / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.1833, allocations: 15.98 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1833, allocations: 0 / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.1834, allocations: 4 kB / 0.6357 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1834, allocations: 7.984 kB / 0.6357 GB, free: 476 kB / 478.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: 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 0.0002164/0.1837, allocations: 109.8 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1837, allocations: 4 kB / 0.6358 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.184, allocations: 109.6 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.184, allocations: 0 / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.184, allocations: 0 / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.184, allocations: 0 / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1843, allocations: 189.4 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1843, allocations: 96 / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.1843, allocations: 19.88 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1844, allocations: 192 / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1844, allocations: 0 / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1844, allocations: 0 / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1844, allocations: 4 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1846, allocations: 125 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.1847, allocations: 85 kB / 0.6363 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1847, allocations: 8 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.1848, allocations: 0 / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1849, allocations: 7.984 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1849, allocations: 4 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.185, allocations: 91.27 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.185, allocations: 0 / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1852, allocations: 12 kB / 0.6364 GB, free: 15.61 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: 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.0006752/0.1859, allocations: 0.6475 MB / 0.637 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1861, allocations: 47.92 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1861, allocations: 4 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.1862, allocations: 31.98 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.1864, allocations: 8.375 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1881, allocations: 1.247 MB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1885, allocations: 0.6827 MB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1886, allocations: 7.984 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1887, allocations: 19.44 kB / 0.639 GB, free: 12.78 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1887, allocations: 0 / 0.639 GB, free: 12.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.2093, allocations: 1.675 MB / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.275, allocations: 4.062 kB / 0.6407 GB, free: 11.24 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)