Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 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.001186/0.001186, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.471/2.471, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 65.7 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2636, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006056/0.2696, allocations: 4.698 MB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.4128, allocations: 150.6 MB / 1.205 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006826/0.4135, allocations: 19.88 kB / 1.205 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.4142, allocations: 178.3 kB / 1.205 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.4159, allocations: 0.5279 MB / 1.205 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.4176, allocations: 0.8399 MB / 1.206 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.4189, allocations: 1.378 MB / 1.207 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000722/0.4196, allocations: 0.535 MB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.4202, allocations: 478.4 kB / 1.208 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.4208, allocations: 497.8 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.421, allocations: 108 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4222, allocations: 0.8388 MB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.4225, allocations: 303 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.4229, allocations: 0.5246 MB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4247, allocations: 1.753 MB / 1.212 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4247, allocations: 0 / 1.212 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4247, allocations: 0 / 1.212 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.4247, allocations: 0 / 1.212 GB, free: 4.379 MB / 0.9669 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.002464/0.4272, allocations: 1.454 MB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4272, allocations: 12.62 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4274, allocations: 126.8 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.4285, allocations: 203.5 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.4294, allocations: 0.7505 MB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.4295, allocations: 58 kB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.4296, allocations: 72 kB / 1.215 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.431, allocations: 0.8918 MB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4311, allocations: 0 / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.4311, allocations: 32 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4312, allocations: 23.94 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.433, allocations: 1.132 MB / 1.217 GB, free: 15.49 MB / 0.9825 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.003552/0.4366, allocations: 2.603 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4381, allocations: 0.8363 MB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.4388, allocations: 334.7 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.4389, allocations: 36.55 kB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009278/0.4398, allocations: 0.5269 MB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.023e-06/0.4398, allocations: 3.938 kB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003337/0.4431, allocations: 1.283 MB / 1.222 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.4432, allocations: 192.6 kB / 1.223 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.4439, allocations: 0.6333 MB / 1.223 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.444, allocations: 45.7 kB / 1.223 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.4442, allocations: 376.6 kB / 1.224 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.4444, allocations: 268.2 kB / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.4446, allocations: 158.5 kB / 1.224 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4448, allocations: 386.7 kB / 1.224 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.4454, allocations: 277.8 kB / 1.225 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.4461, allocations: 399.3 kB / 1.225 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4475, allocations: 0.6471 MB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4475, allocations: 4 kB / 1.226 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00205/0.4495, allocations: 0.876 MB / 1.227 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4496, allocations: 9.656 kB / 1.227 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4496, allocations: 4 kB / 1.227 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.4501, allocations: 80.91 kB / 1.227 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.4508, allocations: 167.7 kB / 1.227 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.4528, allocations: 1.652 MB / 1.228 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.4535, allocations: 99.3 kB / 1.228 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.4536, allocations: 27.98 kB / 1.229 GB, free: 3.188 MB / 0.9825 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.0003487/0.454, allocations: 268.9 kB / 1.229 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4541, allocations: 86.97 kB / 1.229 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.4569, allocations: 1.199 MB / 1.23 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4569, allocations: 8 kB / 1.23 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4569, allocations: 4 kB / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.457, allocations: 7.922 kB / 1.23 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.4579, allocations: 0.9113 MB / 1.231 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4579, allocations: 0 / 1.231 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.4585, allocations: 171.7 kB / 1.231 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.459, allocations: 72.78 kB / 1.231 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.459, allocations: 31.97 kB / 1.231 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.4608, allocations: 1.677 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4608, allocations: 0 / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.4629, allocations: 1.002 MB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.4632, allocations: 279.7 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4634, allocations: 20 kB / 1.234 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.464, allocations: 82.09 kB / 1.234 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4642, allocations: 68.89 kB / 1.234 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.4642, allocations: 35.98 kB / 1.234 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005057/0.4648, allocations: 475 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4648, allocations: 0 / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007397/0.4655, allocations: 327.3 kB / 1.235 GB, free: 12.25 MB / 0.9981 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.003533/0.4691, allocations: 2.059 MB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.4715, allocations: 1.085 MB / 1.238 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4715, allocations: 256 / 1.238 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.4725, allocations: 0.5549 MB / 1.239 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4736, allocations: 322 kB / 1.239 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/0.4836, allocations: 6.592 MB / 1.245 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.4841, allocations: 1.017 MB / 1.246 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008203/0.4849, allocations: 278.9 kB / 1.247 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3757/0.8607, allocations: 372.2 kB / 1.247 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.8607, allocations: 0.8438 kB / 1.247 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/1.257, allocations: 22.2 MB / 1.269 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.67, allocations: 12.22 kB / 1.269 GB, free: 187.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)