Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_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.006262/0.006262, allocations: 100.6 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.001509/0.001509, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 69.41 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2034, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005092/0.2085, allocations: 4.431 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.334, allocations: 150.6 MB / 1.239 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.3346, allocations: 23.88 kB / 1.239 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.3352, allocations: 170.3 kB / 1.239 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.3366, allocations: 0.5158 MB / 1.239 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3382, allocations: 0.8396 MB / 1.24 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3394, allocations: 1.347 MB / 1.242 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/0.3401, allocations: 0.5582 MB / 1.242 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.3406, allocations: 470.4 kB / 1.243 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005245/0.3411, allocations: 485.9 kB / 1.243 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.3413, allocations: 112 kB / 1.243 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3425, allocations: 0.8738 MB / 1.244 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.3427, allocations: 291.1 kB / 1.244 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.3431, allocations: 0.5207 MB / 1.245 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.3448, allocations: 1.781 MB / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3449, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3449, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.3449, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 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.002256/0.3471, allocations: 1.45 MB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3472, allocations: 12.02 kB / 1.248 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.3473, allocations: 122.8 kB / 1.248 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.3484, allocations: 207.4 kB / 1.248 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3494, allocations: 0.7623 MB / 1.249 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3495, allocations: 54 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.3496, allocations: 72 kB / 1.249 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3509, allocations: 0.8957 MB / 1.25 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.351, allocations: 3.984 kB / 1.25 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.3511, allocations: 35.98 kB / 1.25 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3511, allocations: 20 kB / 1.25 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.3529, allocations: 1.128 MB / 1.251 GB, free: 9.512 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.3561, allocations: 2.473 MB / 1.254 GB, free: 6.965 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3576, allocations: 0.8313 MB / 1.254 GB, free: 6.129 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.3582, allocations: 334.7 kB / 1.255 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.3583, allocations: 40.53 kB / 1.255 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008747/0.3592, allocations: 0.5202 MB / 1.255 GB, free: 5.223 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 1.983e-06/0.3592, allocations: 4 kB / 1.255 GB, free: 5.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003183/0.3624, allocations: 1.287 MB / 1.257 GB, free: 3.902 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3624, allocations: 188.6 kB / 1.257 GB, free: 3.676 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.3631, allocations: 0.6411 MB / 1.257 GB, free: 3.027 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.3631, allocations: 41.7 kB / 1.257 GB, free: 2.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3634, allocations: 376.6 kB / 1.258 GB, free: 2.605 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.3636, allocations: 276.1 kB / 1.258 GB, free: 2.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.3638, allocations: 154.5 kB / 1.258 GB, free: 2.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3639, allocations: 386.7 kB / 1.259 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.3645, allocations: 281.8 kB / 1.259 GB, free: 1.516 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.3652, allocations: 399.3 kB / 1.259 GB, free: 1.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3665, allocations: 0.6432 MB / 1.26 GB, free: 448 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3665, allocations: 0 / 1.26 GB, free: 448 kB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.3918/0.7583, allocations: 0.8678 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7583, allocations: 5 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7584, allocations: 8.562 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.7589, allocations: 83.84 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.7596, allocations: 166.9 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.7612, allocations: 1.64 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.7619, allocations: 93.62 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.762, allocations: 32.97 kB / 1.263 GB, free: 172.1 MB / 1.014 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.0003521/0.7623, allocations: 276.2 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7625, allocations: 84.66 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.7651, allocations: 1.206 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.7651, allocations: 10.28 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.7651, allocations: 0.7031 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7651, allocations: 9.047 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.766, allocations: 0.9095 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.766, allocations: 0.6094 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.7667, allocations: 163.4 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.7671, allocations: 80.92 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.7672, allocations: 27.34 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.7686, allocations: 1.67 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7686, allocations: 5.5 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.7706, allocations: 0.9984 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.7709, allocations: 289.2 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.771, allocations: 21.39 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.7716, allocations: 75.95 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.7718, allocations: 77.17 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.7718, allocations: 38.89 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004866/0.7723, allocations: 470 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7723, allocations: 0 / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007262/0.7731, allocations: 315 kB / 1.269 GB, free: 169.2 MB / 1.014 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.003257/0.7763, allocations: 2.074 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.7781, allocations: 0.875 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7781, allocations: 0.8125 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7791, allocations: 0.5545 MB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.7802, allocations: 301.2 kB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7905, allocations: 6.475 MB / 1.279 GB, free: 164.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.7909, allocations: 1.018 MB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007318/0.7917, allocations: 273.1 kB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.7921, allocations: 379.7 kB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.7921, allocations: 1.156 kB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.277/4.069, allocations: 22.14 MB / 1.302 GB, free: 155.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/16.19, allocations: 6.828 kB / 1.302 GB, free: 155.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)