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.001556/0.001556, allocations: 108.6 kB / 15.73 MB, free: 72 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.00217/0.00217, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.351/2.351, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008248/0.2462, allocations: 7.204 MB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5852/0.8314, allocations: 153.5 MB / 1.323 GB, free: 7.551 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.8326, allocations: 34.25 kB / 1.323 GB, free: 7.539 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009434/0.8335, allocations: 336.4 kB / 1.323 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.8358, allocations: 0.7709 MB / 1.324 GB, free: 6.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.8387, allocations: 1.391 MB / 1.326 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.8416, allocations: 2.658 MB / 1.328 GB, free: 5.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.8428, allocations: 1.039 MB / 1.329 GB, free: 4.688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.8437, allocations: 0.8801 MB / 1.33 GB, free: 4.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009562/0.8447, allocations: 0.9124 MB / 1.331 GB, free: 3.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.8449, allocations: 212.5 kB / 1.331 GB, free: 3.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.8464, allocations: 0.9743 MB / 1.332 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.8468, allocations: 0.5391 MB / 1.333 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008142/0.8477, allocations: 1.019 MB / 1.334 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.8502, allocations: 3.015 MB / 1.336 GB, free: 1.234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.8502, allocations: 5.562 kB / 1.336 GB, free: 1.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.159e-06/0.8502, allocations: 0 / 1.336 GB, free: 1.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.8503, allocations: 3.938 kB / 1.336 GB, free: 1.227 MB / 1.014 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.003656/0.8539, allocations: 2.442 MB / 1.339 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.854, allocations: 10.22 kB / 1.339 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.8542, allocations: 213 kB / 1.339 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.8559, allocations: 393.2 kB / 1.339 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.8576, allocations: 1.326 MB / 1.341 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.8577, allocations: 105.7 kB / 1.341 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.8579, allocations: 143.8 kB / 1.341 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.8604, allocations: 1.662 MB / 1.343 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.8604, allocations: 0 / 1.343 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.8605, allocations: 63.47 kB / 1.343 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.8606, allocations: 36.56 kB / 1.343 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.8637, allocations: 2.149 MB / 1.345 GB, free: 13.2 MB / 1.029 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.006388/0.8701, allocations: 4.923 MB / 1.35 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.873, allocations: 1.601 MB / 1.351 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.8741, allocations: 0.5932 MB / 1.352 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8742, allocations: 61.34 kB / 1.352 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.8757, allocations: 0.9442 MB / 1.353 GB, free: 8.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=154): time 2.485e-06/0.8757, allocations: 0 / 1.353 GB, free: 8.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=154): time 0.005685/0.8814, allocations: 2.38 MB / 1.355 GB, free: 7.391 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.8816, allocations: 361.4 kB / 1.355 GB, free: 6.977 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.8829, allocations: 1.156 MB / 1.357 GB, free: 6.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.704e-05/0.883, allocations: 60.61 kB / 1.357 GB, free: 6.281 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.8835, allocations: 0.6768 MB / 1.357 GB, free: 5.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.8839, allocations: 0.514 MB / 1.358 GB, free: 5.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.8843, allocations: 284.2 kB / 1.358 GB, free: 5.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8844, allocations: 358.8 kB / 1.358 GB, free: 4.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.8854, allocations: 0.4938 MB / 1.359 GB, free: 4.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.8866, allocations: 0.7166 MB / 1.36 GB, free: 3.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.8887, allocations: 1.189 MB / 1.361 GB, free: 3.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8887, allocations: 0 / 1.361 GB, free: 3.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003332/0.8921, allocations: 1.593 MB / 1.362 GB, free: 2.516 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8921, allocations: 10.34 kB / 1.362 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8921, allocations: 5.5 kB / 1.362 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.8931, allocations: 165.8 kB / 1.362 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.8942, allocations: 305 kB / 1.363 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2115/1.106, allocations: 3.3 MB / 1.366 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.107, allocations: 178.9 kB / 1.366 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/1.107, allocations: 59.23 kB / 1.366 GB, free: 14.97 MB / 1.045 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.000524/1.107, allocations: 422.9 kB / 1.367 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.108, allocations: 169 kB / 1.367 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/1.112, allocations: 2.168 MB / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.112, allocations: 22.22 kB / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.112, allocations: 0 / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/1.112, allocations: 14.17 kB / 1.369 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.114, allocations: 1.621 MB / 1.37 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.114, allocations: 0 / 1.37 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/1.115, allocations: 286 kB / 1.371 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/1.115, allocations: 153.3 kB / 1.371 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/1.116, allocations: 47.08 kB / 1.371 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/1.119, allocations: 3.351 MB / 1.374 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.119, allocations: 0 / 1.374 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/1.123, allocations: 1.834 MB / 1.376 GB, free: 7.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/1.123, allocations: 486.8 kB / 1.376 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.123, allocations: 33.91 kB / 1.377 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.124, allocations: 136.8 kB / 1.377 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.125, allocations: 138.8 kB / 1.377 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.125, allocations: 69.83 kB / 1.377 GB, free: 7.223 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008942/1.126, allocations: 0.8098 MB / 1.378 GB, free: 6.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.426e-06/1.126, allocations: 0 / 1.378 GB, free: 6.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009872/1.127, allocations: 0.5222 MB / 1.378 GB, free: 6.629 MB / 1.045 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.005345/1.132, allocations: 2.93 MB / 1.381 GB, free: 4.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002747/1.135, allocations: 1.608 MB / 1.383 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.135, allocations: 2.625 kB / 1.383 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.136, allocations: 1.042 MB / 1.384 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.138, allocations: 0.5875 MB / 1.384 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.156, allocations: 11.26 MB / 1.395 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/1.157, allocations: 1.333 MB / 1.396 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001321/1.158, allocations: 0.5088 MB / 1.397 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/1.159, allocations: 0.7335 MB / 1.398 GB, free: 6.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.159, allocations: 0 / 1.398 GB, free: 6.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.82/14.98, allocations: 39.76 MB / 1.437 GB, free: 14.93 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.38/37.36, allocations: 11.2 kB / 1.437 GB, free: 14.92 MB / 1.107 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)