Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_11_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.003969/0.003969, allocations: 98.84 kB / 15.73 MB, free: 6.062 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.001047/0.001047, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.37/2.37, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 80 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5717, allocations: 159.1 MB / 1.22 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007756/0.5795, allocations: 7.195 MB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.7281, allocations: 153.5 MB / 1.377 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.7292, allocations: 31.81 kB / 1.377 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.7302, allocations: 344.7 kB / 1.377 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.7325, allocations: 0.7574 MB / 1.378 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.7351, allocations: 1.391 MB / 1.379 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.7375, allocations: 2.667 MB / 1.382 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.7388, allocations: 1.049 MB / 1.383 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.7396, allocations: 0.8721 MB / 1.384 GB, free: 9.734 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009124/0.7405, allocations: 0.914 MB / 1.385 GB, free: 8.816 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.7408, allocations: 212 kB / 1.385 GB, free: 8.609 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.7421, allocations: 0.9715 MB / 1.386 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.7426, allocations: 0.5335 MB / 1.387 GB, free: 7.102 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.7434, allocations: 1.022 MB / 1.388 GB, free: 6.074 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.7461, allocations: 3.021 MB / 1.39 GB, free: 3.043 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7461, allocations: 0 / 1.39 GB, free: 3.043 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7461, allocations: 0 / 1.39 GB, free: 3.043 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.7461, allocations: 0 / 1.39 GB, free: 3.043 MB / 1.107 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.003642/0.7498, allocations: 2.449 MB / 1.393 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.7498, allocations: 12.03 kB / 1.393 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.7501, allocations: 211.4 kB / 1.393 GB, free: 304 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.7518, allocations: 387.1 kB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.7535, allocations: 1.324 MB / 1.395 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.7536, allocations: 110.9 kB / 1.395 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.7538, allocations: 143.9 kB / 1.395 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.7564, allocations: 1.654 MB / 1.397 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.7564, allocations: 0 / 1.397 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.7566, allocations: 64 kB / 1.397 GB, free: 12.48 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.7566, allocations: 36 kB / 1.397 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.7599, allocations: 2.15 MB / 1.399 GB, free: 10.29 MB / 1.123 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.006491/0.7664, allocations: 4.918 MB / 1.404 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.7694, allocations: 1.608 MB / 1.405 GB, free: 3.613 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.7705, allocations: 0.5912 MB / 1.406 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.7706, allocations: 61.2 kB / 1.406 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.7721, allocations: 0.9411 MB / 1.407 GB, free: 1.996 MB / 1.123 GB Notification: Performance of pre-optimization done (n=154): time 2.334e-06/0.7721, allocations: 0 / 1.407 GB, free: 1.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=154): time 0.005769/0.7779, allocations: 2.387 MB / 1.409 GB, free: 15.56 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.7781, allocations: 355.5 kB / 1.409 GB, free: 15.13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.7794, allocations: 1.163 MB / 1.411 GB, free: 13.95 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.7795, allocations: 57.69 kB / 1.411 GB, free: 13.89 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.7801, allocations: 0.6789 MB / 1.411 GB, free: 13.2 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.7804, allocations: 0.5074 MB / 1.412 GB, free: 12.69 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.7808, allocations: 283.4 kB / 1.412 GB, free: 12.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.781, allocations: 353.9 kB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.782, allocations: 0.4919 MB / 1.413 GB, free: 11.56 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.7833, allocations: 0.7282 MB / 1.414 GB, free: 10.77 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.7855, allocations: 1.192 MB / 1.415 GB, free: 9.551 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7855, allocations: 0 / 1.415 GB, free: 9.551 MB / 1.139 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003537/0.789, allocations: 1.595 MB / 1.416 GB, free: 7.945 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.789, allocations: 4 kB / 1.416 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7891, allocations: 4 kB / 1.416 GB, free: 7.938 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.7901, allocations: 173.7 kB / 1.416 GB, free: 7.762 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7912, allocations: 299.5 kB / 1.417 GB, free: 7.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.7949, allocations: 3.298 MB / 1.42 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.796, allocations: 187 kB / 1.42 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7961, allocations: 59.97 kB / 1.42 GB, free: 3.641 MB / 1.139 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.0005337/0.7967, allocations: 405.5 kB / 1.421 GB, free: 3.234 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.7969, allocations: 178.9 kB / 1.421 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.8015, allocations: 2.17 MB / 1.423 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.8015, allocations: 20 kB / 1.423 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8015, allocations: 3.938 kB / 1.423 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.8016, allocations: 11.95 kB / 1.423 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.8033, allocations: 1.622 MB / 1.424 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8033, allocations: 4 kB / 1.424 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.8043, allocations: 291.6 kB / 1.425 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007764/0.8051, allocations: 141.6 kB / 1.425 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-05/0.8052, allocations: 55.89 kB / 1.425 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.8087, allocations: 3.344 MB / 1.428 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8088, allocations: 7.969 kB / 1.428 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.8124, allocations: 1.824 MB / 1.43 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.813, allocations: 483.3 kB / 1.43 GB, free: 8.68 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.8132, allocations: 32 kB / 1.43 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8142, allocations: 131.1 kB / 1.431 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.8145, allocations: 137.8 kB / 1.431 GB, free: 8.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.8146, allocations: 75.95 kB / 1.431 GB, free: 8.316 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009719/0.8156, allocations: 0.8147 MB / 1.432 GB, free: 7.5 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8156, allocations: 3.938 kB / 1.432 GB, free: 7.496 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009859/0.8166, allocations: 0.5184 MB / 1.432 GB, free: 6.977 MB / 1.154 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.005543/0.8221, allocations: 2.935 MB / 1.435 GB, free: 4.188 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002929/0.8251, allocations: 1.61 MB / 1.437 GB, free: 2.547 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8251, allocations: 0 / 1.437 GB, free: 2.547 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.8269, allocations: 1.039 MB / 1.438 GB, free: 1.488 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.8287, allocations: 0.5958 MB / 1.438 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.846, allocations: 11.25 MB / 1.449 GB, free: 5.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.8469, allocations: 1.33 MB / 1.45 GB, free: 4.121 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001293/0.8482, allocations: 0.5127 MB / 1.451 GB, free: 3.602 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/0.8492, allocations: 0.7335 MB / 1.452 GB, free: 2.867 MB / 1.17 GB Notification: Performance of SimCode: time 3.71e-07/0.8492, allocations: 0 / 1.452 GB, free: 2.867 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.825/4.675, allocations: 39.76 MB / 1.49 GB, free: 11.55 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.06/25.74, allocations: 2.25 kB / 1.49 GB, free: 11.55 MB / 1.217 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)