Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.004414/0.004414, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001249/0.001249, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002487/0.002487, allocations: 279 kB / 290.8 MB, free: 1.949 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.002692/0.002692, allocations: 100.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1517, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002145/0.1539, allocations: 1.238 MB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.1549, allocations: 0.7193 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.155, allocations: 0 / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.155, allocations: 7.938 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1552, allocations: 11.92 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.088e-05/0.1552, allocations: 19.97 kB / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.1553, allocations: 4 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.001e-05/0.1553, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.1554, allocations: 4 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1555, allocations: 11.92 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1555, allocations: 0 / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.1555, allocations: 7.984 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.1556, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1556, allocations: 11.94 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.993e-05/0.1557, allocations: 20.19 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1557, allocations: 0 / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1557, allocations: 0 / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1557, allocations: 0 / 0.7679 GB, free: 6.863 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003227/0.156, allocations: 327.4 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1561, allocations: 8.031 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.1561, allocations: 110 kB / 0.7683 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1562, allocations: 80.22 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1564, allocations: 243.7 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.1565, allocations: 150.9 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.1565, allocations: 158.9 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.425e-05/0.1566, allocations: 101.5 kB / 0.769 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.1566, allocations: 79.22 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.1567, allocations: 150.6 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.1568, allocations: 158.6 kB / 0.7694 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.1568, allocations: 150.6 kB / 0.7696 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1572, allocations: 449.9 kB / 0.77 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.1573, allocations: 173.1 kB / 0.7702 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.1573, allocations: 84.14 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.1574, allocations: 75.28 kB / 0.7703 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.1574, allocations: 109.8 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1574, allocations: 3.938 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.024e-05/0.1575, allocations: 34.09 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1576, allocations: 126.7 kB / 0.7706 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1577, allocations: 109.8 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1577, allocations: 25.7 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.1578, allocations: 80.14 kB / 0.7708 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.1578, allocations: 0 / 0.7708 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.1578, allocations: 9.719 kB / 0.7708 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1579, allocations: 318.8 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/0.1579, allocations: 0 / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.1579, allocations: 0 / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.158, allocations: 79.31 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/0.158, allocations: 75.28 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.259e-05/0.1581, allocations: 33.69 kB / 0.7713 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.1581, allocations: 83.22 kB / 0.7713 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.1582, allocations: 83.22 kB / 0.7714 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.079e-05/0.1582, allocations: 150.7 kB / 0.7716 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.52e-05/0.1583, allocations: 83.23 kB / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.006e-05/0.1584, allocations: 154.6 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1585, allocations: 83.28 kB / 0.7719 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.1585, allocations: 83.2 kB / 0.772 GB, free: 2.477 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001304/0.1587, allocations: 261.1 kB / 0.7722 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.1587, allocations: 104.9 kB / 0.7723 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.1588, allocations: 112 kB / 0.7724 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.68e-05/0.1589, allocations: 176.3 kB / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-05/0.159, allocations: 200.1 kB / 0.7728 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-05/0.159, allocations: 180.3 kB / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1593, allocations: 401.2 kB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.1594, allocations: 104.9 kB / 0.7734 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1594, allocations: 109 kB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.182e-05/0.1595, allocations: 184.1 kB / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.1596, allocations: 176.3 kB / 0.7739 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.306e-05/0.1596, allocations: 180.3 kB / 0.774 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.626e-05/0.1597, allocations: 184.2 kB / 0.7742 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2574/0.4172, allocations: 305.2 kB / 0.7745 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.4173, allocations: 182.5 kB / 0.7747 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.4173, allocations: 184.6 kB / 0.7749 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.4174, allocations: 103.6 kB / 0.775 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.4174, allocations: 183.5 kB / 0.7751 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.4174, allocations: 105.7 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.4175, allocations: 87.27 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.91e-07/0.4175, allocations: 0 / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003649/0.4179, allocations: 4.5 kB / 0.7753 GB, free: 14.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003855/0.4183, allocations: 0.8181 MB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.447e-05/0.4183, allocations: 6.688 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4183, allocations: 0.5312 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4183, allocations: 1.375 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4186, allocations: 467.2 kB / 0.7766 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.4195, allocations: 1.556 MB / 0.7781 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.4196, allocations: 0.6723 MB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.4196, allocations: 1.891 kB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.4196, allocations: 10.36 kB / 0.7788 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.4196, allocations: 1.969 kB / 0.7788 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4241/0.8437, allocations: 1.227 MB / 0.78 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.73, allocations: 9.312 kB / 0.78 GB, free: 10.66 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)