Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.004351/0.004351, allocations: 96.7 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.00128/0.00128, allocations: 194.2 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0024/0.0024, allocations: 286.4 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 103.6 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1564, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002581/0.1591, allocations: 1.602 MB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.1599, allocations: 0.5381 MB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.16, allocations: 8 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.16, allocations: 7.875 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1603, allocations: 35.77 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.1604, allocations: 39.89 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1605, allocations: 115.5 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1606, allocations: 24.22 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.563e-05/0.1607, allocations: 39.91 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1608, allocations: 59.69 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1609, allocations: 8 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.1609, allocations: 8 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.1609, allocations: 23.97 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.161, allocations: 43.78 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1611, allocations: 91.62 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1611, allocations: 7.984 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1611, allocations: 0 / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1612, allocations: 0 / 0.7685 GB, free: 6.246 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006882/0.1618, allocations: 399.1 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1619, allocations: 12.02 kB / 0.7689 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1619, allocations: 38.75 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.162, allocations: 12.89 kB / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1621, allocations: 188.2 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1622, allocations: 4.312 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1622, allocations: 12.38 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1623, allocations: 87.59 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1624, allocations: 0 / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1624, allocations: 0 / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1624, allocations: 4 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1625, allocations: 55.89 kB / 0.7693 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.163, allocations: 344.6 kB / 0.7696 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.1633, allocations: 110.7 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.1634, allocations: 48.84 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1634, allocations: 0 / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1636, allocations: 103.2 kB / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1636, allocations: 0 / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.000314/0.1639, allocations: 149.5 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.164, allocations: 55.41 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1641, allocations: 121.8 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1641, allocations: 29.7 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1642, allocations: 104.3 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1642, allocations: 27.75 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1643, allocations: 33.7 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1644, allocations: 322.8 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.1645, allocations: 23.98 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.1645, allocations: 35.98 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1646, allocations: 64.23 kB / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1646, allocations: 0 / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001747/0.1648, allocations: 113.5 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1648, allocations: 8 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1649, allocations: 0 / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1649, allocations: 4 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.165, allocations: 15.98 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.165, allocations: 4 kB / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1651, allocations: 11.89 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1651, allocations: 7.984 kB / 0.7709 GB, free: 3.512 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: 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.893e-05/0.1652, allocations: 122.4 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1652, allocations: 7.953 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1655, allocations: 146 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1655, allocations: 0 / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1655, allocations: 0 / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1655, allocations: 15.86 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1657, allocations: 205.6 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1657, allocations: 0 / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.1658, allocations: 19.94 kB / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1658, allocations: 0 / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1659, allocations: 7.984 kB / 0.7714 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1659, allocations: 0 / 0.7714 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1659, allocations: 4 kB / 0.7714 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1661, allocations: 171.7 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1662, allocations: 89 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1662, allocations: 8 kB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1663, allocations: 11.92 kB / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1664, allocations: 11.92 kB / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1664, allocations: 8 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.1665, allocations: 95.27 kB / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1665, allocations: 4 kB / 0.7718 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002721/0.1667, allocations: 24 kB / 0.7718 GB, free: 2.48 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: 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.0005465/0.1673, allocations: 0.6944 MB / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1675, allocations: 91.91 kB / 0.7726 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1675, allocations: 4 kB / 0.7726 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.1676, allocations: 47.92 kB / 0.7727 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.1678, allocations: 20.95 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1692, allocations: 1.447 MB / 0.7741 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2516/0.4209, allocations: 0.697 MB / 0.7748 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.421, allocations: 13.52 kB / 0.7748 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.4211, allocations: 31.89 kB / 0.7748 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.4211, allocations: 0.5 kB / 0.7748 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/0.8525, allocations: 2.314 MB / 0.7771 GB, free: 14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.93, allocations: 11.53 kB / 0.7771 GB, free: 13.99 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)