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.001138/0.001138, 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.001146/0.001146, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 278.9 kB / 290.2 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8075/0.8075, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 92.42 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 86.98 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004768/0.1211, allocations: 4.424 MB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3458/0.4669, allocations: 148.2 MB / 0.8286 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.4675, allocations: 19.19 kB / 0.8286 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.468, allocations: 135.6 kB / 0.8288 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.469, allocations: 438.4 kB / 0.8292 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.4703, allocations: 0.7254 MB / 0.8299 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.4711, allocations: 1.257 MB / 0.8311 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.4717, allocations: 0.5497 MB / 0.8317 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.472, allocations: 402.5 kB / 0.8321 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.4724, allocations: 456.3 kB / 0.8325 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.4725, allocations: 48.59 kB / 0.8325 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.4734, allocations: 0.7864 MB / 0.8333 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.4736, allocations: 225.9 kB / 0.8335 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.4739, allocations: 482.5 kB / 0.834 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.4751, allocations: 1.684 MB / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4752, allocations: 0 / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4752, allocations: 1.219 kB / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.4752, allocations: 4 kB / 0.8356 GB, free: 15.85 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002166/0.4773, allocations: 1.452 MB / 0.837 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4774, allocations: 9.156 kB / 0.8371 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.4775, allocations: 122.2 kB / 0.8372 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.4785, allocations: 204.2 kB / 0.8374 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.4793, allocations: 0.7439 MB / 0.8381 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.4794, allocations: 55.97 kB / 0.8381 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.4795, allocations: 72.94 kB / 0.8382 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.4809, allocations: 0.8989 MB / 0.8391 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4809, allocations: 5.406 kB / 0.8391 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.481, allocations: 30.94 kB / 0.8391 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.481, allocations: 18.62 kB / 0.8391 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.4827, allocations: 1.122 MB / 0.8402 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.4858, allocations: 2.508 MB / 0.8427 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4872, allocations: 0.8263 MB / 0.8435 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.4878, allocations: 341.1 kB / 0.8438 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.4878, allocations: 34.67 kB / 0.8439 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008953/0.4887, allocations: 0.522 MB / 0.8444 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.754e-06/0.4887, allocations: 0 / 0.8444 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003091/0.4918, allocations: 1.294 MB / 0.8456 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.4919, allocations: 193.4 kB / 0.8458 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.4925, allocations: 0.6393 MB / 0.8464 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.4926, allocations: 43.61 kB / 0.8465 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.4928, allocations: 377.5 kB / 0.8468 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.493, allocations: 263.7 kB / 0.8471 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.4932, allocations: 156.1 kB / 0.8472 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4933, allocations: 391.6 kB / 0.8476 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.4939, allocations: 284.7 kB / 0.8479 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.4946, allocations: 394.3 kB / 0.8483 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.4959, allocations: 0.6433 MB / 0.8489 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4959, allocations: 3.188 kB / 0.8489 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002043/0.498, allocations: 0.8696 MB / 0.8497 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.498, allocations: 5.125 kB / 0.8497 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.498, allocations: 4 kB / 0.8497 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.4985, allocations: 78.12 kB / 0.8498 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.4992, allocations: 176.3 kB / 0.85 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.5008, allocations: 1.532 MB / 0.8515 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.5015, allocations: 99.72 kB / 0.8516 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.5015, allocations: 35.19 kB / 0.8516 GB, free: 6.211 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.0002967/0.5018, allocations: 258.4 kB / 0.8519 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.502, allocations: 88.33 kB / 0.8519 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.5045, allocations: 1.217 MB / 0.8531 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5045, allocations: 10.38 kB / 0.8531 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.5045, allocations: 0 / 0.8531 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.5045, allocations: 3.984 kB / 0.8531 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.5053, allocations: 0.9255 MB / 0.8541 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5053, allocations: 0 / 0.8541 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.5059, allocations: 159 kB / 0.8542 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.5064, allocations: 91.58 kB / 0.8543 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.5065, allocations: 26.11 kB / 0.8543 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.508, allocations: 1.56 MB / 0.8558 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.508, allocations: 0 / 0.8558 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5099, allocations: 1.006 MB / 0.8568 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.5102, allocations: 280 kB / 0.8571 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5103, allocations: 27.38 kB / 0.8571 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.5109, allocations: 70.97 kB / 0.8572 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.511, allocations: 72.05 kB / 0.8573 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.5111, allocations: 51 kB / 0.8573 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004355/0.5116, allocations: 465.7 kB / 0.8577 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5116, allocations: 0 / 0.8577 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006144/0.5122, allocations: 311.7 kB / 0.858 GB, free: 1.719 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.003196/0.5154, allocations: 2.073 MB / 0.8601 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.5169, allocations: 0.8672 MB / 0.8609 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5169, allocations: 5.297 kB / 0.8609 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.5179, allocations: 0.564 MB / 0.8615 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.5188, allocations: 266.7 kB / 0.8617 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5297, allocations: 7.065 MB / 0.8686 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.5301, allocations: 1.022 MB / 0.8696 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007601/0.5309, allocations: 276.5 kB / 0.8699 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.5314, allocations: 379.6 kB / 0.8702 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/0.5314, allocations: 0 / 0.8702 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8739/1.405, allocations: 21.1 MB / 0.8909 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/1.406, allocations: 324.3 kB / 0.8912 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.539, allocations: 0 / 0.8912 GB, free: 6.379 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)