Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_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.001056/0.001056, 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.001022/0.001022, allocations: 194.2 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.185/1.185, 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 10.1.1-maint.10.0.x/package.mo): time 2.204/2.204, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4351, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007681/0.4428, allocations: 7.212 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.5823, allocations: 153.4 MB / 1.174 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.5831, allocations: 31.81 kB / 1.174 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.5838, allocations: 348.7 kB / 1.175 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.5855, allocations: 0.7663 MB / 1.175 GB, free: 72 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.5877, allocations: 1.379 MB / 1.177 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.5896, allocations: 2.636 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.5907, allocations: 1.045 MB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.5915, allocations: 0.8759 MB / 1.181 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.5923, allocations: 0.914 MB / 1.182 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.5925, allocations: 216 kB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.5937, allocations: 0.9403 MB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.5941, allocations: 0.5412 MB / 1.184 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.5949, allocations: 1.022 MB / 1.185 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5972, allocations: 2.921 MB / 1.188 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5972, allocations: 0 / 1.188 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.113e-06/0.5972, allocations: 0 / 1.188 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.5972, allocations: 0 / 1.188 GB, free: 3.512 MB / 0.9356 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.003561/0.6008, allocations: 2.387 MB / 1.19 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.6008, allocations: 8.031 kB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.601, allocations: 215.4 kB / 1.19 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.6028, allocations: 377.8 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.6044, allocations: 1.272 MB / 1.192 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.6045, allocations: 110.9 kB / 1.192 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6047, allocations: 140 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6071, allocations: 1.659 MB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6072, allocations: 4 kB / 1.194 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.6073, allocations: 64 kB / 1.194 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.6073, allocations: 36 kB / 1.194 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.6106, allocations: 2.15 MB / 1.196 GB, free: 10.88 MB / 0.9512 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.00673/0.6173, allocations: 4.961 MB / 1.201 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.6203, allocations: 1.604 MB / 1.202 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.6213, allocations: 0.5912 MB / 1.203 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.6214, allocations: 57.22 kB / 1.203 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.623, allocations: 0.9433 MB / 1.204 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=154): time 2.625e-06/0.623, allocations: 0 / 1.204 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154): time 0.005754/0.6287, allocations: 2.37 MB / 1.206 GB, free: 120 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.6289, allocations: 363.4 kB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6302, allocations: 1.159 MB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/0.6303, allocations: 57.69 kB / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.6307, allocations: 0.6622 MB / 1.208 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.6311, allocations: 496.8 kB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.6314, allocations: 283.4 kB / 1.209 GB, free: 13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6316, allocations: 357.9 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.6326, allocations: 0.4919 MB / 1.21 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6338, allocations: 0.7181 MB / 1.211 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.6359, allocations: 1.196 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6359, allocations: 3.938 kB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003462/0.6394, allocations: 1.587 MB / 1.213 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6394, allocations: 12 kB / 1.213 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6394, allocations: 0 / 1.213 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.6404, allocations: 169.4 kB / 1.213 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6416, allocations: 303.6 kB / 1.214 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.6451, allocations: 3.305 MB / 1.217 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.6463, allocations: 176 kB / 1.217 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6464, allocations: 67.95 kB / 1.217 GB, free: 4.215 MB / 0.9669 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.0005281/0.6469, allocations: 406.1 kB / 1.218 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.6472, allocations: 161.9 kB / 1.218 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.6518, allocations: 2.177 MB / 1.22 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.6518, allocations: 20 kB / 1.22 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.6518, allocations: 3.938 kB / 1.22 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.6519, allocations: 11.95 kB / 1.22 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.6535, allocations: 1.628 MB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6535, allocations: 0 / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.6546, allocations: 295.6 kB / 1.222 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007752/0.6553, allocations: 137.6 kB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.6555, allocations: 51.95 kB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.6588, allocations: 3.348 MB / 1.225 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6588, allocations: 7.922 kB / 1.225 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.6624, allocations: 1.82 MB / 1.227 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.663, allocations: 470.4 kB / 1.227 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6632, allocations: 39.91 kB / 1.227 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.6644, allocations: 129.7 kB / 1.228 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.6646, allocations: 141.9 kB / 1.228 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.6647, allocations: 75.89 kB / 1.228 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009385/0.6657, allocations: 0.8107 MB / 1.229 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6657, allocations: 0 / 1.229 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001035/0.6667, allocations: 0.5145 MB / 1.229 GB, free: 7.574 MB / 0.9825 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.004982/0.6717, allocations: 2.919 MB / 1.232 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00404/0.6757, allocations: 2.001 MB / 1.234 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6758, allocations: 0 / 1.234 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.6775, allocations: 1.043 MB / 1.235 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.6794, allocations: 0.5865 MB / 1.235 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.697, allocations: 12.07 MB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.6979, allocations: 1.339 MB / 1.249 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001511/0.6994, allocations: 0.5127 MB / 1.249 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009526/0.7003, allocations: 0.7335 MB / 1.25 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.7003, allocations: 4 kB / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.743/4.444, allocations: 39.4 MB / 1.288 GB, free: 213 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/16.61, allocations: 3.984 kB / 1.288 GB, free: 213 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)