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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 198.8 kB / 16.14 MB, free: 6.645 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4855, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007679/0.4932, allocations: 7.162 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.6299, allocations: 151.1 MB / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.6307, allocations: 35.75 kB / 1.171 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.6314, allocations: 273.8 kB / 1.172 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.633, allocations: 0.6501 MB / 1.172 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.6352, allocations: 1.236 MB / 1.173 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.637, allocations: 2.472 MB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.6381, allocations: 1.014 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.6388, allocations: 0.7508 MB / 1.178 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.6396, allocations: 0.8537 MB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.6398, allocations: 92 kB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.6409, allocations: 0.8309 MB / 1.179 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.6413, allocations: 430.3 kB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.6419, allocations: 0.9088 MB / 1.181 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.6441, allocations: 2.816 MB / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6441, allocations: 0 / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6441, allocations: 0 / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.6442, allocations: 0 / 1.183 GB, free: 7.531 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.003771/0.6479, allocations: 2.382 MB / 1.186 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.648, allocations: 12.03 kB / 1.186 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.6482, allocations: 207.4 kB / 1.186 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.6501, allocations: 385.8 kB / 1.186 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.6518, allocations: 1.276 MB / 1.187 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.6519, allocations: 106.9 kB / 1.188 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.652, allocations: 140 kB / 1.188 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.6546, allocations: 1.658 MB / 1.189 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.6547, allocations: 4 kB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.6548, allocations: 64 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.6549, allocations: 32 kB / 1.189 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.6581, allocations: 2.15 MB / 1.192 GB, free: 14.9 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.00655/0.6647, allocations: 4.965 MB / 1.196 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.6677, allocations: 1.608 MB / 1.198 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.6687, allocations: 0.5873 MB / 1.198 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.6689, allocations: 61.22 kB / 1.199 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/0.6704, allocations: 0.9413 MB / 1.199 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=154): time 4.979e-06/0.6704, allocations: 0 / 1.199 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154): time 0.005888/0.6763, allocations: 2.374 MB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.6765, allocations: 355.5 kB / 1.202 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.6777, allocations: 1.167 MB / 1.203 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/0.6779, allocations: 57.7 kB / 1.203 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.6783, allocations: 0.666 MB / 1.204 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.6786, allocations: 496.8 kB / 1.204 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.679, allocations: 279.4 kB / 1.205 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6792, allocations: 357.9 kB / 1.205 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6802, allocations: 0.4919 MB / 1.206 GB, free: 172 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.6814, allocations: 0.722 MB / 1.206 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.6836, allocations: 1.192 MB / 1.207 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6836, allocations: 0 / 1.207 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00357/0.6871, allocations: 1.586 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6872, allocations: 11.98 kB / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6872, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6883, allocations: 165.5 kB / 1.209 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6894, allocations: 307.5 kB / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.6929, allocations: 3.065 MB / 1.212 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6941, allocations: 180.9 kB / 1.213 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6942, allocations: 59.95 kB / 1.213 GB, free: 8.488 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.0005554/0.6948, allocations: 423 kB / 1.213 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.695, allocations: 165.9 kB / 1.213 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.6998, allocations: 2.181 MB / 1.215 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.6998, allocations: 20 kB / 1.215 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6998, allocations: 0 / 1.215 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6999, allocations: 7.969 kB / 1.215 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.7015, allocations: 1.636 MB / 1.217 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7015, allocations: 3.938 kB / 1.217 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.7026, allocations: 291.6 kB / 1.217 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.7036, allocations: 161.5 kB / 1.217 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.7037, allocations: 47.97 kB / 1.217 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.707, allocations: 3.123 MB / 1.22 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.707, allocations: 64 / 1.22 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.7107, allocations: 1.819 MB / 1.222 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.7112, allocations: 470.4 kB / 1.223 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.7114, allocations: 43.98 kB / 1.223 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.7126, allocations: 133.2 kB / 1.223 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.7128, allocations: 133.8 kB / 1.223 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.713, allocations: 71.89 kB / 1.223 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000945/0.7139, allocations: 0.8108 MB / 1.224 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7139, allocations: 0 / 1.224 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001087/0.715, allocations: 0.5145 MB / 1.224 GB, free: 12.05 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.005334/0.7204, allocations: 2.931 MB / 1.227 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.7233, allocations: 1.602 MB / 1.229 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7233, allocations: 4 kB / 1.229 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.725, allocations: 1.039 MB / 1.23 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.7268, allocations: 0.5251 MB / 1.23 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.7478, allocations: 12.77 MB / 1.243 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.7486, allocations: 1.333 MB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001538/0.7501, allocations: 0.5165 MB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/0.7511, allocations: 0.7374 MB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/0.7511, allocations: 0 / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.323/2.074, allocations: 37.93 MB / 1.282 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/2.075, allocations: 291.1 kB / 1.283 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/5.162, allocations: 4 kB / 1.283 GB, free: 216.7 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)