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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005072/0.005072, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.00137/0.00137, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.555/2.555, allocations: 482.6 MB / 0.755 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 62.97 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.262, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008756/0.2708, allocations: 7.2 MB / 1.249 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.4243, allocations: 153.5 MB / 1.399 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.4255, allocations: 31.81 kB / 1.399 GB, free: 7.605 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.4265, allocations: 344.8 kB / 1.399 GB, free: 7.266 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4285, allocations: 0.772 MB / 1.4 GB, free: 6.492 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.4311, allocations: 1.379 MB / 1.401 GB, free: 5.125 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.4336, allocations: 2.659 MB / 1.404 GB, free: 2.453 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.4348, allocations: 1.045 MB / 1.405 GB, free: 1.359 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.4359, allocations: 0.8759 MB / 1.406 GB, free: 492 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.4368, allocations: 0.914 MB / 1.407 GB, free: 15.56 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.4371, allocations: 208 kB / 1.407 GB, free: 15.36 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.4386, allocations: 0.9754 MB / 1.408 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.4391, allocations: 0.5373 MB / 1.408 GB, free: 13.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000842/0.4399, allocations: 1.018 MB / 1.409 GB, free: 12.82 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.4429, allocations: 3.02 MB / 1.412 GB, free: 9.789 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.443, allocations: 0 / 1.412 GB, free: 9.789 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.442e-06/0.443, allocations: 4 kB / 1.412 GB, free: 9.785 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.443, allocations: 0 / 1.412 GB, free: 9.785 MB / 1.139 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.003791/0.4468, allocations: 2.441 MB / 1.415 GB, free: 7.277 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4468, allocations: 15.97 kB / 1.415 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.4471, allocations: 215.4 kB / 1.415 GB, free: 7.039 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.4488, allocations: 387 kB / 1.415 GB, free: 6.66 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.4506, allocations: 1.324 MB / 1.416 GB, free: 5.281 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.4507, allocations: 114.8 kB / 1.417 GB, free: 5.168 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4509, allocations: 148 kB / 1.417 GB, free: 5.023 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.4536, allocations: 1.65 MB / 1.418 GB, free: 3.281 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.4536, allocations: 4 kB / 1.418 GB, free: 3.277 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.4538, allocations: 56 kB / 1.418 GB, free: 3.223 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.4538, allocations: 36 kB / 1.418 GB, free: 3.188 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.4572, allocations: 2.154 MB / 1.42 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006761/0.464, allocations: 4.913 MB / 1.425 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.467, allocations: 1.615 MB / 1.427 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4681, allocations: 0.5873 MB / 1.427 GB, free: 9.754 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.4682, allocations: 61.22 kB / 1.427 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/0.4699, allocations: 0.9365 MB / 1.428 GB, free: 8.734 MB / 1.154 GB Notification: Performance of pre-optimization done (n=154): time 2.655e-06/0.4699, allocations: 0 / 1.428 GB, free: 8.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=154): time 0.005961/0.4758, allocations: 2.39 MB / 1.431 GB, free: 6.297 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.476, allocations: 355.5 kB / 1.431 GB, free: 5.871 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.4775, allocations: 1.159 MB / 1.432 GB, free: 4.691 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4776, allocations: 61.7 kB / 1.432 GB, free: 4.625 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/0.4782, allocations: 0.6711 MB / 1.433 GB, free: 3.945 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/0.4786, allocations: 0.5112 MB / 1.433 GB, free: 3.43 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.479, allocations: 283.4 kB / 1.434 GB, free: 3.148 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4791, allocations: 357.9 kB / 1.434 GB, free: 2.793 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.4802, allocations: 0.4919 MB / 1.435 GB, free: 2.301 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.4814, allocations: 0.722 MB / 1.435 GB, free: 1.516 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.4836, allocations: 1.192 MB / 1.436 GB, free: 300 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4836, allocations: 4 kB / 1.436 GB, free: 296 kB / 1.154 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003638/0.4873, allocations: 1.591 MB / 1.438 GB, free: 14.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4873, allocations: 6.031 kB / 1.438 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4873, allocations: 4.281 kB / 1.438 GB, free: 14.67 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.4884, allocations: 177.4 kB / 1.438 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4895, allocations: 303.5 kB / 1.438 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07449/0.564, allocations: 3.291 MB / 1.442 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.5657, allocations: 183 kB / 1.442 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.5659, allocations: 63.95 kB / 1.442 GB, free: 10.38 MB / 1.17 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.0008916/0.5668, allocations: 397.5 kB / 1.442 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.5673, allocations: 178.9 kB / 1.442 GB, free: 9.801 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.5722, allocations: 2.17 MB / 1.445 GB, free: 7.609 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.5723, allocations: 19.98 kB / 1.445 GB, free: 7.59 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5723, allocations: 11.94 kB / 1.445 GB, free: 7.578 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.5723, allocations: 11.97 kB / 1.445 GB, free: 7.566 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.5744, allocations: 1.621 MB / 1.446 GB, free: 5.887 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.5744, allocations: 4 kB / 1.446 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.5755, allocations: 287.6 kB / 1.446 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.5763, allocations: 141.6 kB / 1.447 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5764, allocations: 51.95 kB / 1.447 GB, free: 5.406 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.5801, allocations: 3.348 MB / 1.45 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5801, allocations: 7.875 kB / 1.45 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.5839, allocations: 1.832 MB / 1.452 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.5846, allocations: 479.5 kB / 1.452 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.5849, allocations: 36 kB / 1.452 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.586, allocations: 133.4 kB / 1.452 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.5863, allocations: 141.8 kB / 1.452 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.5864, allocations: 67.95 kB / 1.452 GB, free: 15.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001036/0.5875, allocations: 0.8146 MB / 1.453 GB, free: 14.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5875, allocations: 0 / 1.453 GB, free: 14.23 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001133/0.5886, allocations: 0.5184 MB / 1.454 GB, free: 13.71 MB / 1.186 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.005651/0.5943, allocations: 2.941 MB / 1.457 GB, free: 10.92 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003089/0.5974, allocations: 1.606 MB / 1.458 GB, free: 9.281 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5974, allocations: 4 kB / 1.458 GB, free: 9.277 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.5992, allocations: 1.051 MB / 1.459 GB, free: 8.203 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.6012, allocations: 0.5773 MB / 1.46 GB, free: 7.668 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.6192, allocations: 11.25 MB / 1.471 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/0.6202, allocations: 1.329 MB / 1.472 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001444/0.6216, allocations: 0.5166 MB / 1.473 GB, free: 10.33 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009819/0.6226, allocations: 0.7374 MB / 1.473 GB, free: 9.594 MB / 1.201 GB Notification: Performance of SimCode: time 4.61e-07/0.6226, allocations: 0 / 1.473 GB, free: 9.594 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.324/1.947, allocations: 39.75 MB / 1.512 GB, free: 2.32 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/19.14, allocations: 3.797 kB / 1.512 GB, free: 2.32 MB / 1.232 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=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)