Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001372/0.001372, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001458/0.001458, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.383/2.383, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.23 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005493/0.237, allocations: 4.708 MB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.373, allocations: 148.4 MB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.374, allocations: 15.94 kB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.3749, allocations: 146.8 kB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.3768, allocations: 476.9 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.3786, allocations: 0.746 MB / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.3801, allocations: 1.385 MB / 1.205 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.3809, allocations: 0.5272 MB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.3816, allocations: 486.3 kB / 1.206 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.3822, allocations: 0.4914 MB / 1.206 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.3824, allocations: 108 kB / 1.206 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3835, allocations: 0.8466 MB / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.3838, allocations: 283.1 kB / 1.207 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.3843, allocations: 0.5402 MB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.3861, allocations: 1.749 MB / 1.209 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3861, allocations: 0 / 1.209 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3861, allocations: 0 / 1.209 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.534e-05/0.3862, allocations: 0 / 1.209 GB, free: 7.215 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002623/0.3888, allocations: 1.454 MB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3889, allocations: 8.625 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.389, allocations: 122.8 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3901, allocations: 207.5 kB / 1.211 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.3911, allocations: 0.7543 MB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.3911, allocations: 50 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.3912, allocations: 76 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3928, allocations: 0.8997 MB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3928, allocations: 0 / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.3929, allocations: 32 kB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3929, allocations: 20 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.3947, allocations: 1.128 MB / 1.214 GB, free: 2.332 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.3984, allocations: 2.605 MB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.3999, allocations: 0.83 MB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.4005, allocations: 338.7 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.4006, allocations: 40.47 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009893/0.4016, allocations: 0.5307 MB / 1.218 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.4016, allocations: 4 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003257/0.4049, allocations: 1.283 MB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.405, allocations: 196.5 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.4057, allocations: 0.6372 MB / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.4058, allocations: 41.7 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.406, allocations: 376.6 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.4062, allocations: 268.2 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4065, allocations: 154.5 kB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4066, allocations: 394.7 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.4072, allocations: 277.8 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.4079, allocations: 399.4 kB / 1.222 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.4091, allocations: 0.6393 MB / 1.223 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4092, allocations: 4 kB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002037/0.4112, allocations: 0.876 MB / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4112, allocations: 4 kB / 1.224 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4112, allocations: 3.938 kB / 1.224 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.4118, allocations: 84.89 kB / 1.224 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.4125, allocations: 167.7 kB / 1.224 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3425/0.755, allocations: 1.654 MB / 1.226 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7561, allocations: 95.44 kB / 1.226 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.7562, allocations: 31.97 kB / 1.226 GB, free: 6.016 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004962/0.7567, allocations: 267.3 kB / 1.226 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.7569, allocations: 86.91 kB / 1.226 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.7602, allocations: 1.207 MB / 1.227 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7602, allocations: 8 kB / 1.227 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7602, allocations: 0 / 1.227 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7602, allocations: 11.92 kB / 1.227 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7613, allocations: 0.9074 MB / 1.228 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7614, allocations: 3.938 kB / 1.228 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.7621, allocations: 163.8 kB / 1.228 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/0.7626, allocations: 72.78 kB / 1.228 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.7627, allocations: 27.97 kB / 1.228 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.7648, allocations: 1.674 MB / 1.23 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7648, allocations: 7.922 kB / 1.23 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.7672, allocations: 1.01 MB / 1.231 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.7676, allocations: 279.7 kB / 1.231 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.7678, allocations: 28.06 kB / 1.231 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/0.7685, allocations: 69.17 kB / 1.231 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7687, allocations: 76.89 kB / 1.231 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.7688, allocations: 35.97 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005832/0.7694, allocations: 471 kB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7694, allocations: 0 / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008738/0.7703, allocations: 327.3 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003964/0.7743, allocations: 2.069 MB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002873/0.7771, allocations: 1.085 MB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7772, allocations: 0 / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.7783, allocations: 0.5513 MB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7796, allocations: 305 kB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.7926, allocations: 6.975 MB / 1.243 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.7932, allocations: 1.012 MB / 1.244 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00104/0.7942, allocations: 267 kB / 1.244 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.7949, allocations: 387.3 kB / 1.245 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.7949, allocations: 0 / 1.245 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/2.767, allocations: 21.95 MB / 1.266 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/2.768, allocations: 314.6 kB / 1.266 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/5.311, allocations: 0 / 1.266 GB, free: 189.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)