Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.005716/0.005716, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001182/0.001182, allocations: 186.9 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 283 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 96.28 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2054, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002539/0.208, allocations: 1.263 MB / 0.7671 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2091, allocations: 0.7349 MB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.2092, allocations: 0 / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.2092, allocations: 3.938 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.2094, allocations: 4 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2097, allocations: 63.03 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.2097, allocations: 23.91 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.2098, allocations: 8 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.2099, allocations: 11.98 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.21, allocations: 11.92 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.21, allocations: 0 / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.908e-05/0.2101, allocations: 12 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.2101, allocations: 3.984 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.2101, allocations: 19.86 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2103, allocations: 19.92 kB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2103, allocations: 0 / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2103, allocations: 3.938 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2103, allocations: 0 / 0.768 GB, free: 6.723 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.0003516/0.2106, allocations: 331.5 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2107, allocations: 8.031 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.2108, allocations: 110 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.2108, allocations: 80.22 kB / 0.7685 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.211, allocations: 243.6 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.211, allocations: 154.9 kB / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2111, allocations: 158.9 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.23e-05/0.2112, allocations: 101.5 kB / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2112, allocations: 83.16 kB / 0.7693 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.2113, allocations: 154.5 kB / 0.7694 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.2113, allocations: 150.6 kB / 0.7695 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.2114, allocations: 154.6 kB / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.2117, allocations: 457.9 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.2118, allocations: 169.1 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.2118, allocations: 84.08 kB / 0.7704 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.2118, allocations: 75.28 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.2119, allocations: 109.8 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2119, allocations: 0 / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.926e-05/0.212, allocations: 34.16 kB / 0.7706 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.212, allocations: 130.7 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2122, allocations: 105.9 kB / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2122, allocations: 29.69 kB / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.2122, allocations: 80.14 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.2122, allocations: 4 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2123, allocations: 13.72 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2124, allocations: 314.8 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.2124, allocations: 11.92 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.2124, allocations: 8 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.2125, allocations: 16.84 kB / 0.7713 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2125, allocations: 0 / 0.7713 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.2126, allocations: 45.8 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2126, allocations: 7.938 kB / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2126, allocations: 0 / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2127, allocations: 256 / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.2127, allocations: 0 / 0.7713 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2127, allocations: 4 kB / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.2128, allocations: 7.984 kB / 0.7713 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2128, allocations: 0 / 0.7713 GB, free: 3.109 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.984e-05/0.2129, allocations: 189.7 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.213, allocations: 112.9 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.213, allocations: 112.4 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.2131, allocations: 184.2 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/0.2131, allocations: 184.3 kB / 0.7721 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-05/0.2132, allocations: 180.2 kB / 0.7722 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.2134, allocations: 405.2 kB / 0.7726 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/0.2135, allocations: 108.9 kB / 0.7727 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.2135, allocations: 104.9 kB / 0.7728 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.016e-05/0.2136, allocations: 188.2 kB / 0.773 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.2137, allocations: 184.2 kB / 0.7732 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-05/0.2137, allocations: 176.3 kB / 0.7734 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-05/0.2138, allocations: 180.3 kB / 0.7735 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.2139, allocations: 303.8 kB / 0.7738 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.214, allocations: 190 kB / 0.774 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.4029/0.6169, allocations: 180.2 kB / 0.7742 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.617, allocations: 102.4 kB / 0.7743 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.6171, allocations: 183 kB / 0.7744 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.6171, allocations: 106.4 kB / 0.7745 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.6172, allocations: 82.97 kB / 0.7746 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6172, allocations: 0.6562 kB / 0.7746 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002829/0.6175, allocations: 4.344 kB / 0.7746 GB, free: 14.98 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.0005225/0.618, allocations: 0.8235 MB / 0.7754 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.13e-05/0.6181, allocations: 7.5 kB / 0.7754 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6181, allocations: 0 / 0.7754 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.6181, allocations: 0.5312 kB / 0.7754 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.6184, allocations: 464.7 kB / 0.7759 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.6193, allocations: 1.287 MB / 0.7771 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.6194, allocations: 0.6762 MB / 0.7778 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.6194, allocations: 2.75 kB / 0.7778 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.6194, allocations: 9.5 kB / 0.7778 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6194, allocations: 0 / 0.7778 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.6396, allocations: 1.308 MB / 0.7791 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.9, allocations: 15.7 kB / 0.7791 GB, free: 11.49 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)