Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001449/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001568/0.001568, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.269/2.269, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4796, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005443/0.4851, allocations: 4.704 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.6148, allocations: 148.3 MB / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.6155, allocations: 19.88 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.6161, allocations: 142.9 kB / 1.166 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.6176, allocations: 465.7 kB / 1.167 GB, free: 8.637 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.6192, allocations: 0.7299 MB / 1.167 GB, free: 7.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.6204, allocations: 1.296 MB / 1.169 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.6211, allocations: 0.5214 MB / 1.169 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.6216, allocations: 418.2 kB / 1.17 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.622, allocations: 457.9 kB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6222, allocations: 48 kB / 1.17 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.6233, allocations: 0.7879 MB / 1.171 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.6235, allocations: 223.1 kB / 1.171 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.6239, allocations: 489.2 kB / 1.172 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.6253, allocations: 1.694 MB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6253, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6253, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.6253, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002267/0.6276, allocations: 1.462 MB / 1.175 GB, free: 480 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.6277, allocations: 16.03 kB / 1.175 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.6278, allocations: 122.8 kB / 1.175 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6289, allocations: 199.5 kB / 1.175 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.6297, allocations: 0.7427 MB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.6298, allocations: 61.98 kB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.6299, allocations: 72 kB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6313, allocations: 0.888 MB / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6314, allocations: 3.938 kB / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.6315, allocations: 32 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6315, allocations: 20 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6333, allocations: 1.128 MB / 1.178 GB, free: 13.1 MB / 0.9356 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.003398/0.6367, allocations: 2.605 MB / 1.18 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6382, allocations: 0.841 MB / 1.181 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.6389, allocations: 330.7 kB / 1.181 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.639, allocations: 40.53 kB / 1.182 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009699/0.6399, allocations: 0.5266 MB / 1.182 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.904e-06/0.6399, allocations: 0 / 1.182 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003309/0.6433, allocations: 1.283 MB / 1.183 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.6434, allocations: 192.6 kB / 1.183 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.644, allocations: 0.6372 MB / 1.184 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.6441, allocations: 45.7 kB / 1.184 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.6443, allocations: 384.5 kB / 1.185 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6445, allocations: 260.2 kB / 1.185 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.6447, allocations: 158.5 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6449, allocations: 386.7 kB / 1.185 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.6455, allocations: 277.8 kB / 1.186 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.6462, allocations: 399.3 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.6475, allocations: 0.6432 MB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6475, allocations: 4 kB / 1.187 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002035/0.6496, allocations: 0.8759 MB / 1.187 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6496, allocations: 4 kB / 1.187 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6496, allocations: 4 kB / 1.187 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/0.6502, allocations: 84.89 kB / 1.187 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.6509, allocations: 163.8 kB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.6528, allocations: 1.539 MB / 1.189 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.6534, allocations: 101 kB / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.6535, allocations: 39.97 kB / 1.189 GB, free: 0.8984 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.6538, allocations: 266.6 kB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.654, allocations: 86.91 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.6568, allocations: 1.202 MB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6568, allocations: 12 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.6568, allocations: 4 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6568, allocations: 3.984 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.6577, allocations: 0.9189 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6577, allocations: 0 / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.6584, allocations: 159.8 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.6589, allocations: 84.77 kB / 1.192 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.6589, allocations: 27.98 kB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.6606, allocations: 1.563 MB / 1.193 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6606, allocations: 3.938 kB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6627, allocations: 0.9944 MB / 1.194 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.663, allocations: 295.4 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.6631, allocations: 20 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.6638, allocations: 75.91 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6639, allocations: 72.89 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.664, allocations: 35.97 kB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000485/0.6645, allocations: 467 kB / 1.195 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6645, allocations: 0 / 1.195 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006715/0.6652, allocations: 323.4 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003444/0.6686, allocations: 2.085 MB / 1.198 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.6704, allocations: 0.8705 MB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6704, allocations: 4 kB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/0.6714, allocations: 0.5471 MB / 1.199 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6725, allocations: 272.3 kB / 1.199 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6835, allocations: 6.977 MB / 1.206 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.684, allocations: 1.016 MB / 1.207 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008018/0.6848, allocations: 271 kB / 1.207 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.6854, allocations: 375.3 kB / 1.208 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.6854, allocations: 0 / 1.208 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.103/1.788, allocations: 21.38 MB / 1.229 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.788, allocations: 304.4 kB / 1.229 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.988, allocations: 0 / 1.229 GB, free: 8.262 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)