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.00118/0.00118, 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.001096/0.001096, allocations: 191.3 kB / 16.25 MB, free: 6.598 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.041/2.041, allocations: 390.3 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4558, allocations: 140.4 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004143/0.4599, allocations: 4.433 MB / 0.9536 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1243/0.5842, allocations: 148.4 MB / 1.098 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.5849, allocations: 11.94 kB / 1.098 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.5854, allocations: 130.9 kB / 1.099 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.5868, allocations: 462.7 kB / 1.099 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.5884, allocations: 0.7472 MB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.5895, allocations: 1.343 MB / 1.101 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.5902, allocations: 0.5582 MB / 1.102 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.5907, allocations: 478.3 kB / 1.102 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.5912, allocations: 481.9 kB / 1.103 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.5914, allocations: 112 kB / 1.103 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.5925, allocations: 0.8504 MB / 1.103 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.5927, allocations: 291.1 kB / 1.104 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.5931, allocations: 0.5207 MB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.5947, allocations: 1.737 MB / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5947, allocations: 0 / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5947, allocations: 0 / 1.106 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.5947, allocations: 0 / 1.106 GB, free: 0.9961 MB / 0.8575 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.002263/0.597, allocations: 1.45 MB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.597, allocations: 8.031 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.5972, allocations: 126.8 kB / 1.107 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5982, allocations: 211.4 kB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.5991, allocations: 0.7388 MB / 1.108 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.5991, allocations: 58 kB / 1.108 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.5992, allocations: 79.98 kB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6006, allocations: 0.8919 MB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6007, allocations: 0 / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.6007, allocations: 32 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.6008, allocations: 23.94 kB / 1.109 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.6025, allocations: 1.128 MB / 1.111 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.6057, allocations: 2.504 MB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.6071, allocations: 0.8352 MB / 1.114 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.6077, allocations: 334.7 kB / 1.114 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.6078, allocations: 36.53 kB / 1.114 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009145/0.6087, allocations: 0.5264 MB / 1.115 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.6087, allocations: 4 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003087/0.6118, allocations: 1.285 MB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.6119, allocations: 192.6 kB / 1.116 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.6125, allocations: 0.6333 MB / 1.117 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.6126, allocations: 41.7 kB / 1.117 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6128, allocations: 384.4 kB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.613, allocations: 268.2 kB / 1.117 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.6132, allocations: 154.5 kB / 1.118 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6134, allocations: 394.7 kB / 1.118 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.6139, allocations: 273.8 kB / 1.118 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.6146, allocations: 399.4 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.6158, allocations: 0.647 MB / 1.119 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6158, allocations: 0 / 1.119 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001898/0.6177, allocations: 0.8721 MB / 1.12 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6177, allocations: 6.031 kB / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6177, allocations: 4 kB / 1.12 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.6183, allocations: 84.89 kB / 1.12 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.6189, allocations: 159.8 kB / 1.12 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.448/1.067, allocations: 1.65 MB / 1.122 GB, free: 64 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/1.068, allocations: 99.42 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/1.068, allocations: 31.92 kB / 1.122 GB, free: 15.93 MB / 0.8887 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.0004041/1.068, allocations: 267.4 kB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.069, allocations: 82.97 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/1.071, allocations: 1.206 MB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.071, allocations: 11.94 kB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/1.071, allocations: 0 / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.071, allocations: 15.91 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/1.072, allocations: 0.9188 MB / 1.124 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.072, allocations: 0 / 1.124 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/1.073, allocations: 163.8 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/1.073, allocations: 76.78 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/1.073, allocations: 27.98 kB / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/1.075, allocations: 1.67 MB / 1.126 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.075, allocations: 4.031 kB / 1.126 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.076, allocations: 1.002 MB / 1.127 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/1.077, allocations: 283.7 kB / 1.128 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.077, allocations: 23.98 kB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/1.077, allocations: 67.92 kB / 1.128 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.078, allocations: 80.83 kB / 1.128 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/1.078, allocations: 39.97 kB / 1.128 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004392/1.078, allocations: 471 kB / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.078, allocations: 0 / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000647/1.079, allocations: 311.4 kB / 1.129 GB, free: 8.988 MB / 0.8887 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.003156/1.082, allocations: 2.075 MB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002253/1.084, allocations: 1.077 MB / 1.132 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.084, allocations: 3.938 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/1.085, allocations: 0.5665 MB / 1.132 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/1.086, allocations: 291.5 kB / 1.132 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.097, allocations: 7.058 MB / 1.139 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/1.098, allocations: 1.02 MB / 1.14 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007439/1.098, allocations: 278.9 kB / 1.141 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/1.099, allocations: 383.2 kB / 1.141 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/1.099, allocations: 4 kB / 1.141 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.333/3.432, allocations: 21.67 MB / 1.162 GB, free: 6.902 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/3.432, allocations: 302.8 kB / 1.162 GB, free: 6.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/5.516, allocations: 8.062 kB / 1.162 GB, free: 6.516 MB / 0.92 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)