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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008675/0.0008677, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004915/0.004915, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.074/2.074, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5024, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.003509/0.5059, allocations: 4.023 MB / 0.9591 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.6356, allocations: 146.7 MB / 1.102 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.6362, allocations: 19.88 kB / 1.102 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.6367, allocations: 134.9 kB / 1.102 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.638, allocations: 441 kB / 1.103 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.6395, allocations: 0.7171 MB / 1.104 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.6407, allocations: 1.261 MB / 1.105 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.6414, allocations: 0.5309 MB / 1.105 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.6419, allocations: 350.4 kB / 1.106 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.6424, allocations: 389.9 kB / 1.106 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.6425, allocations: 28 kB / 1.106 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.6436, allocations: 0.7645 MB / 1.107 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.6437, allocations: 183.1 kB / 1.107 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.6441, allocations: 462.8 kB / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.6456, allocations: 1.643 MB / 1.109 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6457, allocations: 4 kB / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6457, allocations: 0 / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.6457, allocations: 0 / 1.109 GB, free: 1.176 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.002125/0.6478, allocations: 1.244 MB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6479, allocations: 11.97 kB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.648, allocations: 122.8 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6491, allocations: 219.4 kB / 1.111 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.65, allocations: 0.7389 MB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.6501, allocations: 61.98 kB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.6502, allocations: 71.94 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.6516, allocations: 0.9074 MB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6517, allocations: 4 kB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.6517, allocations: 32 kB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.6518, allocations: 16 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.6536, allocations: 1.143 MB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.657, allocations: 2.539 MB / 1.116 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.6585, allocations: 0.8352 MB / 1.117 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.6592, allocations: 346.7 kB / 1.117 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.626e-05/0.6593, allocations: 32.53 kB / 1.117 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.6602, allocations: 0.5343 MB / 1.118 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.6602, allocations: 7.922 kB / 1.118 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003279/0.6635, allocations: 1.32 MB / 1.119 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.6636, allocations: 192.6 kB / 1.119 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.6643, allocations: 0.6294 MB / 1.12 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.6643, allocations: 45.7 kB / 1.12 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.6646, allocations: 388.4 kB / 1.12 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.6648, allocations: 268.1 kB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.6649, allocations: 65.69 kB / 1.12 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.665, allocations: 386.7 kB / 1.121 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.6657, allocations: 289.8 kB / 1.121 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.6664, allocations: 407.3 kB / 1.122 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.6677, allocations: 0.6588 MB / 1.122 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6677, allocations: 0 / 1.122 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002/0.6697, allocations: 0.8917 MB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6697, allocations: 4 kB / 1.123 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6697, allocations: 8.188 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.6703, allocations: 80.78 kB / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.671, allocations: 171.8 kB / 1.123 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.6727, allocations: 1.532 MB / 1.125 GB, free: 492 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.6734, allocations: 107.3 kB / 1.125 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.6735, allocations: 35.97 kB / 1.125 GB, free: 348 kB / 0.8731 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.0003175/0.6738, allocations: 259.6 kB / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.6739, allocations: 95.05 kB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.6766, allocations: 1.222 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6767, allocations: 8 kB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6767, allocations: 4 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.6767, allocations: 3.984 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.6776, allocations: 0.9228 MB / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6776, allocations: 0 / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.6782, allocations: 167.8 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.6787, allocations: 84.77 kB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.6788, allocations: 27.98 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.6804, allocations: 1.559 MB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6804, allocations: 3.938 kB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.6824, allocations: 1.021 MB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.6827, allocations: 303.5 kB / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6829, allocations: 27.98 kB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.6835, allocations: 96.47 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6837, allocations: 68.89 kB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.6837, allocations: 39.97 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004775/0.6842, allocations: 467 kB / 1.131 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6842, allocations: 0 / 1.131 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006526/0.6849, allocations: 311.4 kB / 1.131 GB, free: 9.43 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.003345/0.6882, allocations: 2.084 MB / 1.133 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.6899, allocations: 0.8899 MB / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.69, allocations: 3.938 kB / 1.134 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.6909, allocations: 0.5588 MB / 1.135 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.692, allocations: 281.3 kB / 1.135 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7039, allocations: 7.175 MB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.7044, allocations: 1.02 MB / 1.143 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007988/0.7052, allocations: 274.9 kB / 1.143 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.7057, allocations: 379.2 kB / 1.144 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.7057, allocations: 4 kB / 1.144 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/0.7552, allocations: 20.77 MB / 1.164 GB, free: 8.34 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.7555, allocations: 313.2 kB / 1.164 GB, free: 7.949 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.946, allocations: 0 / 1.164 GB, free: 7.949 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)