Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_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.0008307/0.0008307, allocations: 98.27 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.004966/0.004966, allocations: 170.6 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.216/2.216, allocations: 437.8 MB / 0.7121 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 8 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4777, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004418/0.4821, allocations: 4.278 MB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.6114, allocations: 146.7 MB / 1.171 GB, free: 8.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/0.612, allocations: 19.88 kB / 1.171 GB, free: 8.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.6124, allocations: 142.9 kB / 1.171 GB, free: 8.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.6137, allocations: 466.9 kB / 1.171 GB, free: 7.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.6152, allocations: 0.7182 MB / 1.172 GB, free: 7.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.6164, allocations: 1.299 MB / 1.173 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.6171, allocations: 0.5038 MB / 1.174 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.6175, allocations: 354.4 kB / 1.174 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.618, allocations: 397.9 kB / 1.174 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.6181, allocations: 28 kB / 1.174 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6192, allocations: 0.7606 MB / 1.175 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.6194, allocations: 191.1 kB / 1.175 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.6197, allocations: 454.9 kB / 1.176 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.6212, allocations: 1.659 MB / 1.177 GB, free: 1.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.6212, allocations: 0 / 1.177 GB, free: 1.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6212, allocations: 0 / 1.177 GB, free: 1.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.6212, allocations: 4 kB / 1.177 GB, free: 1.348 MB / 0.92 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.001943/0.6232, allocations: 1.255 MB / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.6232, allocations: 16.03 kB / 1.179 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.6234, allocations: 122.8 kB / 1.179 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.6244, allocations: 215.5 kB / 1.179 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.6253, allocations: 0.7427 MB / 1.18 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.6253, allocations: 58 kB / 1.18 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.6254, allocations: 72 kB / 1.18 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6268, allocations: 0.9035 MB / 1.181 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6269, allocations: 3.984 kB / 1.181 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.627, allocations: 32 kB / 1.181 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.627, allocations: 20 kB / 1.181 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.6288, allocations: 1.147 MB / 1.182 GB, free: 12.62 MB / 0.9356 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.003446/0.6322, allocations: 2.634 MB / 1.184 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6337, allocations: 0.8513 MB / 1.185 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.6344, allocations: 342.7 kB / 1.186 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/0.6344, allocations: 40.53 kB / 1.186 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009108/0.6354, allocations: 0.5288 MB / 1.186 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.6354, allocations: 4 kB / 1.186 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003175/0.6386, allocations: 1.311 MB / 1.187 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.6386, allocations: 196.6 kB / 1.188 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.6393, allocations: 0.6372 MB / 1.188 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.6394, allocations: 41.7 kB / 1.188 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.6396, allocations: 380.5 kB / 1.189 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.6398, allocations: 272.2 kB / 1.189 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.6399, allocations: 61.69 kB / 1.189 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6401, allocations: 390.7 kB / 1.189 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.6407, allocations: 281.8 kB / 1.19 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.6414, allocations: 403.4 kB / 1.19 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.6427, allocations: 0.6627 MB / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6427, allocations: 0 / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002/0.6447, allocations: 0.8916 MB / 1.191 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6447, allocations: 4 kB / 1.191 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6447, allocations: 8 kB / 1.191 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.6453, allocations: 88.83 kB / 1.192 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.6459, allocations: 171.8 kB / 1.192 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.6476, allocations: 1.536 MB / 1.193 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.6483, allocations: 111.4 kB / 1.193 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.6484, allocations: 35.97 kB / 1.193 GB, free: 376 kB / 0.9356 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.0003085/0.6487, allocations: 264.1 kB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.6488, allocations: 90.89 kB / 1.194 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.6515, allocations: 1.222 MB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6515, allocations: 11.94 kB / 1.195 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6515, allocations: 0 / 1.195 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6515, allocations: 3.984 kB / 1.195 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.6524, allocations: 0.9267 MB / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.6524, allocations: 0 / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.653, allocations: 171.8 kB / 1.196 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.6535, allocations: 84.77 kB / 1.196 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.6536, allocations: 23.98 kB / 1.196 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.6552, allocations: 1.555 MB / 1.198 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6552, allocations: 7.969 kB / 1.198 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.6572, allocations: 1.014 MB / 1.199 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.6575, allocations: 303.6 kB / 1.199 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6576, allocations: 23.97 kB / 1.199 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.6583, allocations: 95.92 kB / 1.199 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6584, allocations: 72.89 kB / 1.199 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.6585, allocations: 39.97 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004822/0.659, allocations: 463 kB / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.659, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006301/0.6596, allocations: 319.4 kB / 1.2 GB, free: 9.465 MB / 0.9512 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.003307/0.6629, allocations: 2.101 MB / 1.202 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6646, allocations: 0.8822 MB / 1.203 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6646, allocations: 0 / 1.203 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.6656, allocations: 0.5704 MB / 1.203 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6667, allocations: 268.5 kB / 1.204 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.6776, allocations: 7.044 MB / 1.21 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.6782, allocations: 1.021 MB / 1.211 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007741/0.6789, allocations: 282.8 kB / 1.212 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.6794, allocations: 375.3 kB / 1.212 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.6794, allocations: 0 / 1.212 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/1.913, allocations: 21.05 MB / 1.233 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/1.914, allocations: 304.2 kB / 1.233 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/4.113, allocations: 0 / 1.233 GB, free: 7.867 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)