Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_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.001051/0.001051, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.00105/0.001051, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.216/1.216, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7073/0.7073, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3075, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007744/0.3152, allocations: 7.179 MB / 0.5743 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.4606, allocations: 153.5 MB / 0.7241 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4622, allocations: 31.81 kB / 0.7242 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.4635, allocations: 344.7 kB / 0.7245 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.4668, allocations: 0.7642 MB / 0.7252 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.4701, allocations: 1.376 MB / 0.7266 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002806/0.4729, allocations: 2.644 MB / 0.7292 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.4744, allocations: 1.049 MB / 0.7302 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.4756, allocations: 0.876 MB / 0.7311 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.4767, allocations: 0.9161 MB / 0.7319 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.4771, allocations: 212 kB / 0.7321 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.4787, allocations: 0.9404 MB / 0.7331 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.4792, allocations: 0.5451 MB / 0.7336 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000983/0.4801, allocations: 1.018 MB / 0.7346 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.483, allocations: 2.917 MB / 0.7374 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.483, allocations: 0 / 0.7374 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.483, allocations: 0 / 0.7374 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-05/0.4831, allocations: 4 kB / 0.7374 GB, free: 11.98 MB / 0.5762 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.004319/0.4874, allocations: 2.375 MB / 0.7398 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4875, allocations: 15.97 kB / 0.7398 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.4877, allocations: 211.4 kB / 0.74 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.4896, allocations: 381.8 kB / 0.7403 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.4913, allocations: 1.268 MB / 0.7416 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.4914, allocations: 114.8 kB / 0.7417 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.4916, allocations: 144 kB / 0.7418 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.4942, allocations: 1.65 MB / 0.7434 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.4942, allocations: 3.938 kB / 0.7434 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4944, allocations: 68 kB / 0.7435 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4944, allocations: 39.94 kB / 0.7435 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.4976, allocations: 2.15 MB / 0.7456 GB, free: 3.348 MB / 0.5762 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.2198/0.7175, allocations: 4.953 MB / 0.7505 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.7211, allocations: 1.61 MB / 0.7521 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.7222, allocations: 0.5928 MB / 0.7526 GB, free: 168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.7224, allocations: 64.09 kB / 0.7527 GB, free: 168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.7241, allocations: 0.9398 MB / 0.7536 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 3.446e-06/0.7241, allocations: 0.5 kB / 0.7536 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.006256/0.7304, allocations: 2.373 MB / 0.7559 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.7304, allocations: 354.7 kB / 0.7563 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.7318, allocations: 1.158 MB / 0.7574 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.745e-05/0.7319, allocations: 62.02 kB / 0.7575 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.7324, allocations: 0.664 MB / 0.7581 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.7326, allocations: 500 kB / 0.7586 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.733, allocations: 282.7 kB / 0.7589 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.7331, allocations: 356.7 kB / 0.7592 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.7341, allocations: 0.4937 MB / 0.7597 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.7352, allocations: 0.7271 MB / 0.7604 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.7373, allocations: 1.185 MB / 0.7615 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7373, allocations: 1.188 kB / 0.7615 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003503/0.7408, allocations: 1.587 MB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7409, allocations: 10.81 kB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7409, allocations: 3.266 kB / 0.7631 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.7419, allocations: 169.9 kB / 0.7633 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.7431, allocations: 304 kB / 0.7636 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0891/0.8322, allocations: 3.29 MB / 0.7668 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.8338, allocations: 180.5 kB / 0.7669 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.834, allocations: 61.52 kB / 0.767 GB, free: 159.7 MB / 0.5762 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.0008031/0.8348, allocations: 409.4 kB / 0.7674 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.8352, allocations: 165.2 kB / 0.7676 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.8399, allocations: 2.174 MB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.8399, allocations: 22.16 kB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8399, allocations: 0 / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.8399, allocations: 9.922 kB / 0.7697 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.8416, allocations: 1.626 MB / 0.7713 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8416, allocations: 0 / 0.7713 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8426, allocations: 291.9 kB / 0.7716 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/0.8434, allocations: 145.9 kB / 0.7717 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.8435, allocations: 48.83 kB / 0.7718 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.8463, allocations: 3.344 MB / 0.775 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8463, allocations: 1.5 kB / 0.775 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.8498, allocations: 1.82 MB / 0.7768 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.8504, allocations: 473.1 kB / 0.7773 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.8506, allocations: 38.52 kB / 0.7773 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.8517, allocations: 132.8 kB / 0.7774 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.8519, allocations: 144.1 kB / 0.7776 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.8521, allocations: 69.77 kB / 0.7776 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009029/0.853, allocations: 0.81 MB / 0.7784 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.62e-07/0.853, allocations: 0 / 0.7784 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001175/0.8542, allocations: 0.5172 MB / 0.7789 GB, free: 152 MB / 0.5762 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.004644/0.8588, allocations: 2.934 MB / 0.7818 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003837/0.8627, allocations: 2.001 MB / 0.7837 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8627, allocations: 0 / 0.7837 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.8642, allocations: 1.043 MB / 0.7848 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.866, allocations: 0.592 MB / 0.7853 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.8809, allocations: 12.07 MB / 0.7971 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.8815, allocations: 1.333 MB / 0.7984 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001329/0.8829, allocations: 0.5058 MB / 0.7989 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000753/0.8836, allocations: 0.7413 MB / 0.7996 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.8836, allocations: 3.938 kB / 0.7996 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05589/0.9395, allocations: 39.36 MB / 0.8381 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.55, allocations: 11.91 kB / 0.8381 GB, free: 93.61 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)