Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008731/0.0008732, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.005015/0.005015, allocations: 169.2 kB / 16.26 MB, free: 6.68 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 262.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9028/0.9028, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 12.22 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004301/0.1346, allocations: 4.007 MB / 0.6891 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3954/0.53, allocations: 146.7 MB / 0.8324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.5304, allocations: 19.41 kB / 0.8324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.5307, allocations: 136.3 kB / 0.8325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009939/0.5318, allocations: 439 kB / 0.8329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.5331, allocations: 0.7207 MB / 0.8336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009911/0.5341, allocations: 1.259 MB / 0.8349 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006725/0.5348, allocations: 0.5271 MB / 0.8354 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.5352, allocations: 354.4 kB / 0.8357 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.5356, allocations: 396.3 kB / 0.8361 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.5357, allocations: 24.62 kB / 0.8361 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.5367, allocations: 0.7672 MB / 0.8369 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.5368, allocations: 185.4 kB / 0.837 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.5371, allocations: 455.4 kB / 0.8375 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.5384, allocations: 1.646 MB / 0.8391 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.5384, allocations: 3.938 kB / 0.8391 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5384, allocations: 0 / 0.8391 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5385, allocations: 0 / 0.8391 GB, free: 8.5 MB / 0.5606 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.001912/0.5404, allocations: 1.243 MB / 0.8403 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.5404, allocations: 9.281 kB / 0.8403 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.5405, allocations: 127.7 kB / 0.8404 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5416, allocations: 216.5 kB / 0.8406 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.5424, allocations: 0.7425 MB / 0.8414 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.5425, allocations: 56.91 kB / 0.8414 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5426, allocations: 76.33 kB / 0.8415 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.544, allocations: 0.9102 MB / 0.8424 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.544, allocations: 0 / 0.8424 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.5441, allocations: 31.84 kB / 0.8424 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5441, allocations: 19.66 kB / 0.8424 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.5459, allocations: 1.139 MB / 0.8435 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.5493, allocations: 2.539 MB / 0.846 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.5507, allocations: 0.8333 MB / 0.8468 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006415/0.5514, allocations: 344.2 kB / 0.8472 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.5514, allocations: 31.47 kB / 0.8472 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009254/0.5524, allocations: 0.5428 MB / 0.8477 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 1.934e-06/0.5524, allocations: 3.938 kB / 0.8477 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003177/0.5556, allocations: 1.309 MB / 0.849 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.5556, allocations: 192.1 kB / 0.8492 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.5563, allocations: 0.6402 MB / 0.8498 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.5564, allocations: 47.42 kB / 0.8499 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5566, allocations: 376.6 kB / 0.8502 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.5568, allocations: 269.2 kB / 0.8505 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.5569, allocations: 67.41 kB / 0.8505 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.557, allocations: 390.4 kB / 0.8509 GB, free: 260 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.5576, allocations: 287.5 kB / 0.8512 GB, free: 120 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/0.5583, allocations: 403.3 kB / 0.8516 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.5596, allocations: 0.6604 MB / 0.8522 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5596, allocations: 4 kB / 0.8522 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001956/0.5616, allocations: 0.8825 MB / 0.8531 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5616, allocations: 13.45 kB / 0.8531 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5616, allocations: 3.984 kB / 0.8531 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.5622, allocations: 84.03 kB / 0.8532 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.5628, allocations: 170.9 kB / 0.8533 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.5646, allocations: 1.538 MB / 0.8548 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.5653, allocations: 108.4 kB / 0.8549 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.5653, allocations: 39.28 kB / 0.855 GB, free: 13.37 MB / 0.5762 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.0003153/0.5657, allocations: 255.4 kB / 0.8552 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5658, allocations: 91.66 kB / 0.8553 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.5684, allocations: 1.226 MB / 0.8565 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5685, allocations: 12.42 kB / 0.8565 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5685, allocations: 0 / 0.8565 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5685, allocations: 6.953 kB / 0.8565 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.5693, allocations: 0.9244 MB / 0.8574 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5693, allocations: 0 / 0.8574 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.57, allocations: 166.4 kB / 0.8576 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.5704, allocations: 92.92 kB / 0.8577 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.5705, allocations: 27.14 kB / 0.8577 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.5721, allocations: 1.556 MB / 0.8592 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5721, allocations: 0 / 0.8592 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.574, allocations: 1.023 MB / 0.8602 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.5744, allocations: 307.5 kB / 0.8605 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5745, allocations: 21.81 kB / 0.8605 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.5751, allocations: 95.44 kB / 0.8606 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5753, allocations: 76.86 kB / 0.8607 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.5753, allocations: 37.69 kB / 0.8607 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004501/0.5758, allocations: 464.9 kB / 0.8612 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5758, allocations: 0 / 0.8612 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006595/0.5765, allocations: 310.8 kB / 0.8615 GB, free: 8.848 MB / 0.5762 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.003279/0.5798, allocations: 2.099 MB / 0.8635 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.5814, allocations: 0.8786 MB / 0.8644 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5814, allocations: 2.375 kB / 0.8644 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.5823, allocations: 0.5584 MB / 0.8649 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5834, allocations: 276.2 kB / 0.8652 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5953, allocations: 7.188 MB / 0.8722 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.5958, allocations: 1.016 MB / 0.8732 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008083/0.5966, allocations: 278.8 kB / 0.8735 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.5971, allocations: 379.3 kB / 0.8738 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5971, allocations: 0 / 0.8738 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.173/1.77, allocations: 20.79 MB / 0.8941 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/1.77, allocations: 316.2 kB / 0.8944 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.49/6.26, allocations: 0 / 0.8944 GB, free: 8.996 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)