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.001007/0.001007, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.017/2.017, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.48, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004345/0.4844, allocations: 4.427 MB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.6162, allocations: 150.6 MB / 1.101 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.617, allocations: 19.88 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.6176, allocations: 178.3 kB / 1.101 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.6192, allocations: 0.5047 MB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.6209, allocations: 0.8302 MB / 1.103 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.6221, allocations: 1.339 MB / 1.104 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.6228, allocations: 0.566 MB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00053/0.6234, allocations: 466.4 kB / 1.105 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/0.6239, allocations: 487.4 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.624, allocations: 112 kB / 1.105 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.6252, allocations: 0.8465 MB / 1.106 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.6255, allocations: 283.1 kB / 1.107 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.6259, allocations: 0.5285 MB / 1.107 GB, free: 124 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.6276, allocations: 1.737 MB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6276, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6276, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2e-05/0.6276, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 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.002296/0.6299, allocations: 1.442 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.63, allocations: 12.03 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.6301, allocations: 122.8 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6311, allocations: 211.4 kB / 1.11 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.632, allocations: 0.7466 MB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.6321, allocations: 58 kB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.6322, allocations: 72 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6336, allocations: 0.8919 MB / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6336, allocations: 0 / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.6337, allocations: 32 kB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.6337, allocations: 20 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6355, allocations: 1.132 MB / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.6388, allocations: 2.502 MB / 1.116 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6402, allocations: 0.8313 MB / 1.117 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.6409, allocations: 338.7 kB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.641, allocations: 28.55 kB / 1.117 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009314/0.6419, allocations: 0.5264 MB / 1.117 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.884e-06/0.6419, allocations: 0 / 1.117 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003246/0.6452, allocations: 1.297 MB / 1.119 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.6452, allocations: 188.6 kB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.6459, allocations: 0.6411 MB / 1.12 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.646, allocations: 41.7 kB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.6462, allocations: 392.4 kB / 1.12 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6464, allocations: 260.2 kB / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.6466, allocations: 154.5 kB / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6468, allocations: 394.7 kB / 1.121 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.6474, allocations: 273.8 kB / 1.121 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.6481, allocations: 399.4 kB / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.6494, allocations: 0.6431 MB / 1.122 GB, free: 396 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6494, allocations: 0 / 1.122 GB, free: 396 kB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002065/0.6515, allocations: 0.876 MB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6515, allocations: 8 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6515, allocations: 0 / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.6521, allocations: 84.89 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.6528, allocations: 167.8 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.6548, allocations: 1.634 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.6555, allocations: 101.6 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6556, allocations: 35.91 kB / 1.125 GB, free: 13.33 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.0003243/0.6559, allocations: 263.6 kB / 1.125 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6561, allocations: 94.94 kB / 1.125 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.6588, allocations: 1.206 MB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6588, allocations: 12 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6588, allocations: 0 / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6589, allocations: 7.922 kB / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.6597, allocations: 0.9228 MB / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6597, allocations: 0 / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.6604, allocations: 155.8 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.6608, allocations: 76.78 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.6609, allocations: 31.97 kB / 1.128 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.6625, allocations: 1.666 MB / 1.129 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6625, allocations: 64 / 1.129 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.6645, allocations: 1.01 MB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.6649, allocations: 291.6 kB / 1.13 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.665, allocations: 16 kB / 1.13 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.6656, allocations: 75.92 kB / 1.131 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6658, allocations: 76.83 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.6658, allocations: 39.97 kB / 1.131 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004674/0.6663, allocations: 467 kB / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6663, allocations: 0 / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006826/0.667, allocations: 311.4 kB / 1.131 GB, free: 6.383 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.003351/0.6704, allocations: 2.074 MB / 1.133 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.6727, allocations: 1.085 MB / 1.134 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6727, allocations: 0 / 1.134 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/0.6737, allocations: 0.5666 MB / 1.135 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6747, allocations: 300 kB / 1.135 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6851, allocations: 6.702 MB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.6856, allocations: 1.016 MB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007719/0.6864, allocations: 274.8 kB / 1.143 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.6868, allocations: 387.2 kB / 1.143 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.6868, allocations: 0 / 1.143 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.7389, allocations: 21.89 MB / 1.165 GB, free: 4.391 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/10.6, allocations: 4.812 kB / 1.165 GB, free: 4.387 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)