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.001418/0.001418, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001041/0.001042, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 294.4 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9217/0.9217, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 95.16 kB / 0.5948 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1383, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002336/0.1407, allocations: 1.531 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.1413, allocations: 469.5 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.1414, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.1414, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1416, allocations: 28.56 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.801e-05/0.1417, allocations: 17.7 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.1418, allocations: 51.78 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.1419, allocations: 11.92 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.142, allocations: 28.73 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.142, allocations: 23.91 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.142, allocations: 4.656 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.1421, allocations: 4 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1421, allocations: 13.2 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1421, allocations: 19.86 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.1422, allocations: 39.89 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1422, allocations: 0.8438 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1422, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1422, allocations: 0.5312 kB / 0.6819 GB, free: 14.73 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.0004708/0.1427, allocations: 359.4 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1427, allocations: 8.031 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.1428, allocations: 30.75 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1428, allocations: 8.844 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1429, allocations: 180.2 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.143, allocations: 4.359 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.143, allocations: 4.375 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.1431, allocations: 49.81 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1431, allocations: 0 / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1431, allocations: 4 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1431, allocations: 4 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.1432, allocations: 19.98 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.1435, allocations: 268.8 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.1436, allocations: 50.5 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.1436, allocations: 20.86 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1436, allocations: 4 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.1438, allocations: 63.48 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1438, allocations: 0 / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001923/0.144, allocations: 81.61 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.144, allocations: 51.41 kB / 0.6831 GB, free: 13.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.1441, allocations: 117.8 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1441, allocations: 25.7 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1442, allocations: 92.05 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1442, allocations: 11.89 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1442, allocations: 21.66 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.1443, allocations: 322.7 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.1443, allocations: 11.98 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.1444, allocations: 12 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.1444, allocations: 33.23 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1444, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.617e-05/0.1445, allocations: 77.53 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1446, allocations: 4 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1446, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1446, allocations: 3.984 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.1447, allocations: 8 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1447, allocations: 0 / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.1447, allocations: 4 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1447, allocations: 0 / 0.6838 GB, free: 12.58 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 7.852e-05/0.1448, allocations: 127 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1448, allocations: 7.906 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.1449, allocations: 11.97 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1449, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1449, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1449, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.145, allocations: 181.5 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.145, allocations: 4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.145, allocations: 4 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1451, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1451, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1451, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1451, allocations: 4 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1452, allocations: 97.05 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.1452, allocations: 89 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1453, allocations: 4.125 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.1453, allocations: 4 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1454, allocations: 3.984 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1454, allocations: 4 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.1454, allocations: 91.27 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.1454, allocations: 4 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.1456, allocations: 15.94 kB / 0.6844 GB, free: 11.84 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.0003466/0.146, allocations: 0.632 MB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1461, allocations: 39.88 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1461, allocations: 4 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.1462, allocations: 19.98 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.1463, allocations: 5.562 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.1473, allocations: 1.224 MB / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1475, allocations: 0.6846 MB / 0.687 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.1475, allocations: 0 / 0.687 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1475, allocations: 19.44 kB / 0.687 GB, free: 9.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1475, allocations: 0 / 0.687 GB, free: 9.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.3563, allocations: 1.421 MB / 0.6884 GB, free: 7.871 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.3565, allocations: 243.1 kB / 0.6886 GB, free: 7.617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.963, allocations: 2.812 kB / 0.6886 GB, free: 7.617 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)