Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001167/0.001167, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 188.2 kB / 16.62 MB, free: 6.613 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.292/1.292, allocations: 222.9 MB / 240.3 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002058, allocations: 274.8 kB / 290.8 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9062/0.9062, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 95.08 kB / 0.5955 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1672, allocations: 86.98 MB / 0.6804 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002443/0.1697, allocations: 1.475 MB / 0.6819 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.1704, allocations: 458.8 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.1705, allocations: 0 / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.1705, allocations: 7.922 kB / 0.6823 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1707, allocations: 35.84 kB / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.405e-05/0.1708, allocations: 11.98 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.1709, allocations: 59.72 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.171, allocations: 11.92 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.1711, allocations: 12 kB / 0.6825 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.1712, allocations: 31.84 kB / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1712, allocations: 4 kB / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.1712, allocations: 4 kB / 0.6825 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.1713, allocations: 11.98 kB / 0.6825 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1713, allocations: 27.86 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.454e-05/0.1714, allocations: 39.83 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1714, allocations: 0 / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1714, allocations: 0 / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1714, allocations: 0 / 0.6826 GB, free: 14.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005229/0.1719, allocations: 355.4 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.172, allocations: 8.031 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.172, allocations: 34.75 kB / 0.683 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.1721, allocations: 12.78 kB / 0.683 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1722, allocations: 176.3 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1722, allocations: 4.375 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1722, allocations: 4.375 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1723, allocations: 57.8 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1724, allocations: 0 / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1724, allocations: 0 / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1724, allocations: 4 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.1724, allocations: 19.92 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1728, allocations: 276.8 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.1729, allocations: 42.56 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1729, allocations: 20.95 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1729, allocations: 7.984 kB / 0.6836 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.1731, allocations: 63.33 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1731, allocations: 4 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002031/0.1733, allocations: 77.69 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1734, allocations: 51.41 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.1735, allocations: 109.8 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1735, allocations: 25.7 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.1735, allocations: 96.03 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1736, allocations: 7.906 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1736, allocations: 21.59 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1737, allocations: 330.8 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1737, allocations: 8 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.1738, allocations: 12 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.1738, allocations: 32.84 kB / 0.6844 GB, free: 12.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1738, allocations: 0 / 0.6844 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.562e-05/0.1739, allocations: 65.59 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.174, allocations: 4 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.174, allocations: 0 / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.174, allocations: 0 / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1741, allocations: 16.38 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1741, allocations: 4 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.1741, allocations: 4 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1742, allocations: 3.984 kB / 0.6844 GB, free: 12.18 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.525e-05/0.1742, allocations: 127 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1743, allocations: 3.906 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.1743, allocations: 7.969 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1743, allocations: 0 / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1743, allocations: 0 / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1743, allocations: 4 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1744, allocations: 177.5 kB / 0.6848 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1744, allocations: 4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.1745, allocations: 4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1745, allocations: 0 / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1745, allocations: 4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1745, allocations: 0 / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1745, allocations: 0 / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1746, allocations: 96.98 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1747, allocations: 89.02 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1747, allocations: 4 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.1748, allocations: 7.984 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1748, allocations: 0 / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1748, allocations: 4 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.1749, allocations: 87.58 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1749, allocations: 4 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.1751, allocations: 8 kB / 0.6851 GB, free: 11.46 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0003917/0.1755, allocations: 0.6474 MB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1756, allocations: 31.98 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1756, allocations: 0 / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.1757, allocations: 19.98 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1758, allocations: 6.375 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1769, allocations: 1.235 MB / 0.6869 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1771, allocations: 0.6846 MB / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.1772, allocations: 3.984 kB / 0.6876 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1772, allocations: 15.44 kB / 0.6876 GB, free: 8.695 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1772, allocations: 0 / 0.6876 GB, free: 8.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.1925, allocations: 1.526 MB / 0.6891 GB, free: 7.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.166, allocations: 15.84 kB / 0.6891 GB, free: 7.344 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)