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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 112.5 kB / 15.73 MB, free: 80 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.00116/0.00116, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.301/1.301, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 294.4 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00268/0.1521, allocations: 1.489 MB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.1528, allocations: 463.4 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.1529, allocations: 0 / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.1529, allocations: 3.938 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1532, allocations: 27.84 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.752e-05/0.1533, allocations: 15.92 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.1534, allocations: 51.84 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1535, allocations: 15.92 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.1536, allocations: 27.86 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1537, allocations: 19.92 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1537, allocations: 4 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.1537, allocations: 4 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.1537, allocations: 19.91 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1538, allocations: 15.94 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.1539, allocations: 47.81 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1539, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1539, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1539, allocations: 4 kB / 0.7685 GB, free: 6.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005088/0.1544, allocations: 351.3 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1545, allocations: 12.03 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1545, allocations: 0.9375 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1546, allocations: 176.2 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1546, allocations: 384 / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1547, allocations: 8.312 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1548, allocations: 53.98 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1548, allocations: 8 kB / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1548, allocations: 0 / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1548, allocations: 0 / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.1549, allocations: 16 kB / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.1553, allocations: 272.9 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1554, allocations: 46.5 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.1554, allocations: 24.94 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1555, allocations: 4 kB / 0.7695 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.1556, allocations: 63.39 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1556, allocations: 3.938 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002213/0.1559, allocations: 85.52 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1559, allocations: 55.41 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.156, allocations: 109.8 kB / 0.7698 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.156, allocations: 25.7 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1561, allocations: 92.14 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1561, allocations: 7.812 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1561, allocations: 21.7 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.1562, allocations: 322.8 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.1563, allocations: 8 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.1563, allocations: 15.98 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.1564, allocations: 33.23 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1564, allocations: 0 / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001016/0.1565, allocations: 65.62 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1565, allocations: 11.94 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1565, allocations: 0 / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1565, allocations: 4 kB / 0.7703 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.1566, allocations: 4 kB / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1566, allocations: 0 / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.1567, allocations: 7.984 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1567, allocations: 0 / 0.7704 GB, free: 4.098 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 (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.151e-05/0.1568, allocations: 122.4 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.1568, allocations: 11.91 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.1568, allocations: 7.969 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1568, allocations: 3.984 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1568, allocations: 0 / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1569, allocations: 3.984 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.157, allocations: 173.6 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.157, allocations: 0 / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.157, allocations: 7.938 kB / 0.7707 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.157, allocations: 0 / 0.7707 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.157, allocations: 3.984 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1571, allocations: 0 / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1571, allocations: 4 kB / 0.7707 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.1572, allocations: 101 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1572, allocations: 77.11 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1573, allocations: 4.109 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.1573, allocations: 8 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1574, allocations: 4 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1574, allocations: 7.984 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.1574, allocations: 91.28 kB / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1574, allocations: 0 / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001862/0.1576, allocations: 11.94 kB / 0.771 GB, free: 3.371 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,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.0001023/0.1577, allocations: 103.2 kB / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1579, allocations: 39.92 kB / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1579, allocations: 0 / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.1579, allocations: 19.98 kB / 0.7711 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1581, allocations: 6.062 kB / 0.7711 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.1584, allocations: 146 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1586, allocations: 0.6807 MB / 0.7719 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.1586, allocations: 3.938 kB / 0.7719 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.1587, allocations: 11.44 kB / 0.7719 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1587, allocations: 0 / 0.7719 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of Templates: time 0.002353/0.161, allocations: 0.5566 MB / 0.7725 GB, free: 1.785 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)