Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_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.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001207/0.001207, allocations: 191 kB / 16.25 MB, free: 6.633 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.074/2.074, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.83 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4875, allocations: 140.4 MB / 0.9492 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00568/0.4932, allocations: 6.655 MB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.6343, allocations: 151.1 MB / 1.103 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.6357, allocations: 27.88 kB / 1.103 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.6367, allocations: 257.9 kB / 1.104 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.6392, allocations: 0.6419 MB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.642, allocations: 1.246 MB / 1.105 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.6449, allocations: 2.57 MB / 1.108 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.6464, allocations: 1.092 MB / 1.109 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.6477, allocations: 0.8758 MB / 1.11 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.6489, allocations: 0.9062 MB / 1.111 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.6494, allocations: 212 kB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.6507, allocations: 0.9481 MB / 1.112 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.6511, allocations: 0.5374 MB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.6519, allocations: 1.006 MB / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.6544, allocations: 2.898 MB / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6544, allocations: 4 kB / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6544, allocations: 0 / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.6544, allocations: 0 / 1.116 GB, free: 6.535 MB / 0.8731 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.003638/0.6581, allocations: 2.361 MB / 1.119 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6581, allocations: 11.97 kB / 1.119 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.6583, allocations: 215.4 kB / 1.119 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.6601, allocations: 385.8 kB / 1.119 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.6616, allocations: 1.268 MB / 1.12 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.6617, allocations: 106.9 kB / 1.12 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.6619, allocations: 140 kB / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.6644, allocations: 1.659 MB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.6644, allocations: 3.938 kB / 1.122 GB, free: 184 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.6645, allocations: 60 kB / 1.122 GB, free: 124 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.6646, allocations: 36 kB / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.6677, allocations: 2.15 MB / 1.124 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.6739, allocations: 4.747 MB / 1.129 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.6768, allocations: 1.609 MB / 1.131 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.6778, allocations: 0.5951 MB / 1.131 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6779, allocations: 57.22 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.6795, allocations: 0.9345 MB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 3.126e-06/0.6795, allocations: 0 / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.005789/0.6853, allocations: 2.382 MB / 1.134 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.6855, allocations: 351.5 kB / 1.135 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.6868, allocations: 1.159 MB / 1.136 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.6869, allocations: 61.7 kB / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.6874, allocations: 0.6544 MB / 1.137 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.6878, allocations: 0.5007 MB / 1.137 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.6882, allocations: 279.3 kB / 1.137 GB, free: 316 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6883, allocations: 361.9 kB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.6893, allocations: 499.7 kB / 1.138 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.6905, allocations: 0.7297 MB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.6926, allocations: 1.192 MB / 1.14 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6926, allocations: 0 / 1.14 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003507/0.6961, allocations: 1.582 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6962, allocations: 4 kB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.6962, allocations: 4 kB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6972, allocations: 169.8 kB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.6984, allocations: 299.5 kB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.702, allocations: 3.288 MB / 1.145 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.7032, allocations: 186.6 kB / 1.145 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.7033, allocations: 63.95 kB / 1.146 GB, free: 7.543 MB / 0.9044 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.0005723/0.7039, allocations: 409.5 kB / 1.146 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.7042, allocations: 162 kB / 1.146 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/0.7089, allocations: 2.181 MB / 1.148 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.7089, allocations: 16 kB / 1.148 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.709, allocations: 3.938 kB / 1.148 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.709, allocations: 7.969 kB / 1.148 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.7107, allocations: 1.629 MB / 1.15 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7107, allocations: 0 / 1.15 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.7118, allocations: 287.6 kB / 1.15 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008086/0.7126, allocations: 149.5 kB / 1.15 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.7127, allocations: 55.95 kB / 1.15 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.7162, allocations: 3.344 MB / 1.154 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.7162, allocations: 7.875 kB / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.7198, allocations: 1.816 MB / 1.155 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/0.7205, allocations: 470.3 kB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.7207, allocations: 39.98 kB / 1.156 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7218, allocations: 129.3 kB / 1.156 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.7221, allocations: 141.8 kB / 1.156 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7222, allocations: 68.05 kB / 1.156 GB, free: 12.24 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009857/0.7232, allocations: 0.8145 MB / 1.157 GB, free: 11.42 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7232, allocations: 4 kB / 1.157 GB, free: 11.42 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001104/0.7243, allocations: 0.5027 MB / 1.157 GB, free: 10.91 MB / 0.92 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.005128/0.7295, allocations: 2.93 MB / 1.16 GB, free: 8.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004112/0.7336, allocations: 1.993 MB / 1.162 GB, free: 6.109 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7336, allocations: 0 / 1.162 GB, free: 6.109 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.7353, allocations: 1.043 MB / 1.163 GB, free: 5.039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.7373, allocations: 0.5734 MB / 1.164 GB, free: 4.508 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/0.7603, allocations: 12.98 MB / 1.176 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/0.7612, allocations: 1.34 MB / 1.178 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001561/0.7628, allocations: 0.5166 MB / 1.178 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009546/0.7638, allocations: 0.7374 MB / 1.179 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/0.7638, allocations: 3.938 kB / 1.179 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2434/1.007, allocations: 38.5 MB / 1.217 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/1.007, allocations: 299.4 kB / 1.217 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.995, allocations: 8 kB / 1.217 GB, free: 14.03 MB / 0.9825 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)