Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.001251/0.001251, 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.001304/0.001304, allocations: 193.1 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.386/2.386, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 69.8 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2116, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006884/0.2185, allocations: 7.2 MB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.3454, allocations: 153.4 MB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.3465, allocations: 31.81 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009558/0.3475, allocations: 340.8 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.3498, allocations: 0.7667 MB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.3525, allocations: 1.375 MB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002406/0.3549, allocations: 2.64 MB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.3562, allocations: 1.049 MB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3573, allocations: 0.8759 MB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3583, allocations: 0.9157 MB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.3588, allocations: 212 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3602, allocations: 0.9442 MB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.3607, allocations: 0.5451 MB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.3617, allocations: 1.014 MB / 1.22 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.3643, allocations: 2.925 MB / 1.223 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3643, allocations: 0 / 1.223 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3643, allocations: 4 kB / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.751e-05/0.3644, allocations: 0 / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003784/0.3682, allocations: 2.374 MB / 1.225 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3682, allocations: 8.625 kB / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.3684, allocations: 215.4 kB / 1.226 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.3701, allocations: 377.8 kB / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3715, allocations: 1.279 MB / 1.227 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.3716, allocations: 110.9 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3718, allocations: 136 kB / 1.227 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.3741, allocations: 1.658 MB / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.3741, allocations: 7.922 kB / 1.229 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.3742, allocations: 63.94 kB / 1.229 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3743, allocations: 36 kB / 1.229 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.3772, allocations: 2.154 MB / 1.231 GB, free: 0.7148 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.005907/0.3831, allocations: 4.949 MB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.3859, allocations: 1.608 MB / 1.238 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000983/0.3869, allocations: 0.595 MB / 1.238 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.387, allocations: 61.2 kB / 1.238 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.3884, allocations: 0.9422 MB / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.667e-06/0.3884, allocations: 0 / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.005499/0.3939, allocations: 2.382 MB / 1.242 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.394, allocations: 359.4 kB / 1.242 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3953, allocations: 1.159 MB / 1.243 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3954, allocations: 53.7 kB / 1.243 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3958, allocations: 0.6661 MB / 1.244 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.3961, allocations: 492.8 kB / 1.244 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.3965, allocations: 287.4 kB / 1.244 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3966, allocations: 353.9 kB / 1.245 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.3976, allocations: 499.7 kB / 1.245 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3987, allocations: 0.7298 MB / 1.246 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3708/0.7695, allocations: 1.179 MB / 1.247 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.7696, allocations: 1.562 kB / 1.247 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003818/0.7734, allocations: 1.589 MB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7734, allocations: 5.969 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7734, allocations: 8.594 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009754/0.7744, allocations: 164 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7755, allocations: 304.8 kB / 1.249 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.7784, allocations: 3.293 MB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.7796, allocations: 183.7 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.7797, allocations: 61.14 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005937/0.7803, allocations: 411.4 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.7806, allocations: 163.8 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.7846, allocations: 2.183 MB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.7846, allocations: 17.47 kB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7846, allocations: 0 / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.7847, allocations: 13.09 kB / 1.255 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7862, allocations: 1.613 MB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7862, allocations: 3.719 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.7872, allocations: 288.1 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/0.7879, allocations: 149.7 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/0.788, allocations: 55.56 kB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.7905, allocations: 3.35 MB / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7905, allocations: 0 / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.7936, allocations: 1.82 MB / 1.262 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.7941, allocations: 471 kB / 1.263 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.7943, allocations: 41.47 kB / 1.263 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7954, allocations: 133.8 kB / 1.263 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.7956, allocations: 142.3 kB / 1.263 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.7957, allocations: 75.91 kB / 1.263 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008247/0.7965, allocations: 0.8073 MB / 1.264 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7965, allocations: 0 / 1.264 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001023/0.7976, allocations: 0.5054 MB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004748/0.8023, allocations: 2.926 MB / 1.267 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.8061, allocations: 1.997 MB / 1.269 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8061, allocations: 6.203 kB / 1.269 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.8079, allocations: 1.045 MB / 1.27 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.8099, allocations: 0.5822 MB / 1.271 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.8261, allocations: 12.08 MB / 1.283 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.8268, allocations: 1.331 MB / 1.284 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001478/0.8283, allocations: 0.5219 MB / 1.285 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/0.8291, allocations: 0.7348 MB / 1.285 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.8291, allocations: 4 kB / 1.285 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.353/3.183, allocations: 39.4 MB / 1.324 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/15.21, allocations: 11.42 kB / 1.324 GB, free: 145.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)