Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.017/2.017, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 56.09 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4773, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004297/0.4816, allocations: 4.44 MB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.6144, allocations: 148.3 MB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.6151, allocations: 11.94 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.6157, allocations: 126.9 kB / 1.098 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.6172, allocations: 445.2 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.6188, allocations: 0.7237 MB / 1.099 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.62, allocations: 1.245 MB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.6207, allocations: 0.5465 MB / 1.101 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.6212, allocations: 410.3 kB / 1.102 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.6217, allocations: 449.9 kB / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6219, allocations: 48 kB / 1.102 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.623, allocations: 0.7879 MB / 1.103 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.6232, allocations: 227.1 kB / 1.103 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.6236, allocations: 473.2 kB / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.6252, allocations: 1.687 MB / 1.105 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6252, allocations: 3.938 kB / 1.105 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6252, allocations: 0 / 1.105 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.6252, allocations: 4 kB / 1.105 GB, free: 1.676 MB / 0.8575 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.002351/0.6276, allocations: 1.446 MB / 1.107 GB, free: 184 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6276, allocations: 11.97 kB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.6278, allocations: 122.8 kB / 1.107 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.6288, allocations: 207.4 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.6297, allocations: 0.735 MB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.6298, allocations: 61.94 kB / 1.108 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.6298, allocations: 72 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6313, allocations: 0.888 MB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6313, allocations: 11.92 kB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.6314, allocations: 36 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6314, allocations: 16 kB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6332, allocations: 1.128 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.6364, allocations: 2.504 MB / 1.112 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.6379, allocations: 0.8323 MB / 1.113 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.6385, allocations: 342.5 kB / 1.113 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.6386, allocations: 36.55 kB / 1.113 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009453/0.6395, allocations: 0.5187 MB / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.913e-06/0.6396, allocations: 0 / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003199/0.6428, allocations: 1.293 MB / 1.115 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.6428, allocations: 196.6 kB / 1.115 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.6435, allocations: 0.6333 MB / 1.116 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.6436, allocations: 41.7 kB / 1.116 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.6438, allocations: 388.4 kB / 1.116 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.644, allocations: 264.2 kB / 1.117 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.6442, allocations: 154.5 kB / 1.117 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6443, allocations: 390.7 kB / 1.117 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.6449, allocations: 285.8 kB / 1.117 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.6456, allocations: 395.3 kB / 1.118 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.6469, allocations: 0.6471 MB / 1.118 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6469, allocations: 0 / 1.118 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001975/0.6489, allocations: 0.8682 MB / 1.119 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6489, allocations: 6.031 kB / 1.119 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6489, allocations: 4 kB / 1.119 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.6494, allocations: 80.91 kB / 1.119 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.6501, allocations: 171.8 kB / 1.12 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.6518, allocations: 1.537 MB / 1.121 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.6524, allocations: 99.38 kB / 1.121 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.6525, allocations: 31.97 kB / 1.121 GB, free: 0.7344 MB / 0.8731 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.0003122/0.6528, allocations: 259.4 kB / 1.121 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.653, allocations: 86.91 kB / 1.121 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.6556, allocations: 1.21 MB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6556, allocations: 8 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.6556, allocations: 0 / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.6556, allocations: 11.97 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.6565, allocations: 0.9188 MB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6565, allocations: 0 / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.6571, allocations: 163.7 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.6576, allocations: 88.77 kB / 1.124 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.6577, allocations: 23.98 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6593, allocations: 1.567 MB / 1.125 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6593, allocations: 3.938 kB / 1.125 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.6613, allocations: 0.9942 MB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.6616, allocations: 291.6 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.6617, allocations: 23.94 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.6623, allocations: 79.91 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6624, allocations: 72.89 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.6625, allocations: 39.97 kB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004602/0.663, allocations: 467 kB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.663, allocations: 0 / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006315/0.6636, allocations: 311.4 kB / 1.128 GB, free: 9.898 MB / 0.8887 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.003291/0.6669, allocations: 2.066 MB / 1.13 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.6686, allocations: 0.8666 MB / 1.13 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6686, allocations: 0 / 1.13 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.6695, allocations: 0.551 MB / 1.131 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.6705, allocations: 269 kB / 1.131 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6819, allocations: 7.078 MB / 1.138 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.6824, allocations: 1.016 MB / 1.139 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000764/0.6831, allocations: 274.9 kB / 1.139 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.6836, allocations: 375.3 kB / 1.14 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6836, allocations: 0 / 1.14 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/1.717, allocations: 21.09 MB / 1.16 GB, free: 8.633 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/1.717, allocations: 303.6 kB / 1.161 GB, free: 8.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.894, allocations: 0 / 1.161 GB, free: 8.25 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)