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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001199/0.001199, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.254/2.254, allocations: 437.1 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 71.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4607, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007807/0.4685, allocations: 7.154 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1358/0.6044, allocations: 151.2 MB / 1.172 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.6056, allocations: 35.75 kB / 1.172 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009383/0.6066, allocations: 273.8 kB / 1.172 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.6087, allocations: 0.6681 MB / 1.172 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.6114, allocations: 1.254 MB / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.614, allocations: 2.644 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.6153, allocations: 1.049 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.6164, allocations: 0.8875 MB / 1.178 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.6175, allocations: 0.9179 MB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.6178, allocations: 212 kB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.6192, allocations: 0.952 MB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.6196, allocations: 0.5335 MB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008763/0.6205, allocations: 1.018 MB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.623, allocations: 2.925 MB / 1.185 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.623, allocations: 3.938 kB / 1.185 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.02e-07/0.623, allocations: 0 / 1.185 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.623, allocations: 0 / 1.185 GB, free: 6.457 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.0037/0.6267, allocations: 2.378 MB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6268, allocations: 12.03 kB / 1.187 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.627, allocations: 211.4 kB / 1.187 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6288, allocations: 381.8 kB / 1.187 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.6304, allocations: 1.272 MB / 1.189 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.6305, allocations: 106.9 kB / 1.189 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.6306, allocations: 148 kB / 1.189 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.6332, allocations: 1.656 MB / 1.191 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.6333, allocations: 0 / 1.191 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6334, allocations: 64 kB / 1.191 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.6334, allocations: 36.05 kB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/0.6367, allocations: 2.15 MB / 1.193 GB, free: 13.83 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.006507/0.6432, allocations: 4.969 MB / 1.198 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.6461, allocations: 1.609 MB / 1.199 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.6471, allocations: 0.5951 MB / 1.2 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.6472, allocations: 57.22 kB / 1.2 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/0.6488, allocations: 0.9384 MB / 1.201 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=154): time 2.635e-06/0.6488, allocations: 0 / 1.201 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154): time 0.005809/0.6546, allocations: 2.37 MB / 1.203 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.6548, allocations: 355.5 kB / 1.203 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.656, allocations: 1.167 MB / 1.205 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.6562, allocations: 57.69 kB / 1.205 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.6566, allocations: 0.6699 MB / 1.205 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.657, allocations: 496.8 kB / 1.206 GB, free: 220 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.6574, allocations: 283.4 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6575, allocations: 357.9 kB / 1.206 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.6585, allocations: 495.7 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.6597, allocations: 0.722 MB / 1.208 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.6618, allocations: 1.196 MB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6618, allocations: 0 / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003541/0.6654, allocations: 1.586 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6654, allocations: 8 kB / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6654, allocations: 4 kB / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.6665, allocations: 169.8 kB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6676, allocations: 307.5 kB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.6713, allocations: 3.305 MB / 1.214 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6725, allocations: 174.6 kB / 1.214 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6726, allocations: 63.95 kB / 1.214 GB, free: 7.164 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.0005528/0.6732, allocations: 410.1 kB / 1.215 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.6734, allocations: 165.9 kB / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.6782, allocations: 2.177 MB / 1.217 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.6783, allocations: 20 kB / 1.217 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6783, allocations: 3.938 kB / 1.217 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.6783, allocations: 7.969 kB / 1.217 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.68, allocations: 1.628 MB / 1.218 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.68, allocations: 0 / 1.218 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6811, allocations: 287.6 kB / 1.219 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/0.6819, allocations: 153.5 kB / 1.219 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.682, allocations: 47.97 kB / 1.219 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.6854, allocations: 3.353 MB / 1.222 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6854, allocations: 7.875 kB / 1.222 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.689, allocations: 1.812 MB / 1.224 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.6896, allocations: 474.4 kB / 1.224 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.6898, allocations: 39.91 kB / 1.224 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.691, allocations: 133.7 kB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.6912, allocations: 137.8 kB / 1.225 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6913, allocations: 79.94 kB / 1.225 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009224/0.6923, allocations: 0.8107 MB / 1.226 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6923, allocations: 0 / 1.226 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001014/0.6933, allocations: 0.5145 MB / 1.226 GB, free: 10.51 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.005057/0.6983, allocations: 2.915 MB / 1.229 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004102/0.7025, allocations: 1.997 MB / 1.231 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.7025, allocations: 11.92 kB / 1.231 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.7042, allocations: 1.043 MB / 1.232 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.7061, allocations: 0.5797 MB / 1.232 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.7267, allocations: 12.76 MB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.7275, allocations: 1.337 MB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001498/0.729, allocations: 0.5204 MB / 1.247 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/0.73, allocations: 0.7374 MB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.73, allocations: 0 / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.818, allocations: 39.07 MB / 1.286 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.818, allocations: 289.8 kB / 1.286 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/5.059, allocations: 0 / 1.286 GB, free: 215.4 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)