Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.001089/0.001089, allocations: 193 kB / 17.34 MB, free: 5.602 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8539/0.8539, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 70.55 kB / 0.5685 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1919, allocations: 77.94 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003434/0.1954, allocations: 1.579 MB / 0.6461 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1966, allocations: 0.5387 MB / 0.6466 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.951e-05/0.1967, allocations: 7.938 kB / 0.6467 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.1968, allocations: 7.922 kB / 0.6467 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1971, allocations: 35.77 kB / 0.6467 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.1973, allocations: 39.88 kB / 0.6467 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1975, allocations: 111.6 kB / 0.6468 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1976, allocations: 27.97 kB / 0.6469 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1978, allocations: 43.84 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1979, allocations: 55.75 kB / 0.647 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.198, allocations: 8 kB / 0.647 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.198, allocations: 8 kB / 0.647 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.198, allocations: 15.98 kB / 0.647 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1981, allocations: 51.78 kB / 0.647 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1983, allocations: 95.55 kB / 0.6471 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1983, allocations: 7.938 kB / 0.6471 GB, free: 6.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1983, allocations: 0 / 0.6471 GB, free: 6.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1983, allocations: 0 / 0.6471 GB, free: 6.344 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007492/0.1991, allocations: 403.1 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1991, allocations: 12.62 kB / 0.6475 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.1992, allocations: 8.891 kB / 0.6475 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1993, allocations: 192.1 kB / 0.6477 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1994, allocations: 4.375 kB / 0.6477 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1994, allocations: 8.375 kB / 0.6477 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1996, allocations: 87.92 kB / 0.6478 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1996, allocations: 0 / 0.6478 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1996, allocations: 0 / 0.6478 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1996, allocations: 4 kB / 0.6478 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1997, allocations: 51.91 kB / 0.6479 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.2003, allocations: 340.7 kB / 0.6482 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.2006, allocations: 110.6 kB / 0.6483 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.2007, allocations: 48.84 kB / 0.6484 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2007, allocations: 0 / 0.6484 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.2009, allocations: 99.34 kB / 0.6485 GB, free: 4.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.2009, allocations: 3.938 kB / 0.6485 GB, free: 4.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003273/0.2012, allocations: 145.5 kB / 0.6486 GB, free: 4.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2013, allocations: 55.39 kB / 0.6486 GB, free: 4.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.2014, allocations: 117.8 kB / 0.6488 GB, free: 4.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2014, allocations: 33.7 kB / 0.6488 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.2015, allocations: 96.39 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.2015, allocations: 31.81 kB / 0.6489 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.2016, allocations: 25.7 kB / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2017, allocations: 326.8 kB / 0.6492 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.2017, allocations: 27.98 kB / 0.6493 GB, free: 3.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.2018, allocations: 35.92 kB / 0.6493 GB, free: 3.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2019, allocations: 63.17 kB / 0.6494 GB, free: 3.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2019, allocations: 0 / 0.6494 GB, free: 3.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001794/0.2021, allocations: 113.6 kB / 0.6495 GB, free: 3.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2021, allocations: 4 kB / 0.6495 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2022, allocations: 4 kB / 0.6495 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2022, allocations: 0 / 0.6495 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2023, allocations: 23.98 kB / 0.6495 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2023, allocations: 3.984 kB / 0.6495 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.2024, allocations: 19.77 kB / 0.6495 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2024, allocations: 4 kB / 0.6495 GB, free: 3.664 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.399e-05/0.2025, allocations: 126.6 kB / 0.6497 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.2025, allocations: 7.953 kB / 0.6497 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.2028, allocations: 148.1 kB / 0.6498 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2028, allocations: 4 kB / 0.6498 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2028, allocations: 0 / 0.6498 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2029, allocations: 7.922 kB / 0.6498 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.203, allocations: 213.5 kB / 0.65 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.203, allocations: 0 / 0.65 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.2031, allocations: 19.92 kB / 0.65 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2031, allocations: 0 / 0.65 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2032, allocations: 8 kB / 0.65 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2032, allocations: 3.984 kB / 0.6501 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2032, allocations: 4 kB / 0.6501 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2034, allocations: 157 kB / 0.6502 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2035, allocations: 89 kB / 0.6503 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.2035, allocations: 0 / 0.6503 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.2036, allocations: 11.98 kB / 0.6503 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.2037, allocations: 11.98 kB / 0.6503 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.2037, allocations: 15.94 kB / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.2038, allocations: 104 kB / 0.6504 GB, free: 2.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2038, allocations: 0 / 0.6504 GB, free: 2.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.204, allocations: 24 kB / 0.6504 GB, free: 2.621 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001276/0.2041, allocations: 107.2 kB / 0.6506 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2043, allocations: 84.78 kB / 0.6506 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2043, allocations: 0 / 0.6506 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.2044, allocations: 51.98 kB / 0.6507 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.2046, allocations: 8 kB / 0.6507 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.205, allocations: 214.4 kB / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2053, allocations: 0.6963 MB / 0.6516 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.2054, allocations: 12.55 kB / 0.6516 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2054, allocations: 15.44 kB / 0.6516 GB, free: 1.387 MB / 494.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2054, allocations: 0 / 0.6516 GB, free: 1.387 MB / 494.1 MB Notification: Performance of Templates: time 0.003805/0.2092, allocations: 1.091 MB / 0.6527 GB, free: 308 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)