Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_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.0008218/0.0008218, allocations: 93.42 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008669/0.0008668, allocations: 181.3 kB / 16.92 MB, free: 6.684 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.25/1.25, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6414/0.6414, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 8.938 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004395/0.1208, allocations: 4.256 MB / 0.5642 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3449/0.4657, allocations: 146.7 MB / 0.7074 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005671/0.4663, allocations: 19.88 kB / 0.7075 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.4668, allocations: 142.8 kB / 0.7076 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.4682, allocations: 458.3 kB / 0.708 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.4698, allocations: 0.7283 MB / 0.7087 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.4711, allocations: 1.292 MB / 0.71 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.4718, allocations: 0.5049 MB / 0.7105 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.4723, allocations: 358.4 kB / 0.7108 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.4728, allocations: 401.8 kB / 0.7112 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4729, allocations: 28 kB / 0.7112 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.4742, allocations: 0.7645 MB / 0.712 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4743, allocations: 187.1 kB / 0.7122 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.4747, allocations: 462.9 kB / 0.7126 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.4764, allocations: 1.655 MB / 0.7142 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4764, allocations: 3.938 kB / 0.7142 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4764, allocations: 0 / 0.7142 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.4764, allocations: 0 / 0.7142 GB, free: 8.539 MB / 0.5294 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.002196/0.4786, allocations: 1.256 MB / 0.7155 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4787, allocations: 12.03 kB / 0.7155 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.4788, allocations: 122.8 kB / 0.7156 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.4799, allocations: 223.4 kB / 0.7158 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.4808, allocations: 0.7313 MB / 0.7165 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.4809, allocations: 62 kB / 0.7166 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.481, allocations: 75.98 kB / 0.7166 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.4825, allocations: 0.9035 MB / 0.7175 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4825, allocations: 4 kB / 0.7175 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.4826, allocations: 32 kB / 0.7176 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4826, allocations: 16 kB / 0.7176 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4845, allocations: 1.147 MB / 0.7187 GB, free: 3.82 MB / 0.5294 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.003563/0.4881, allocations: 2.635 MB / 0.7213 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.4896, allocations: 0.8478 MB / 0.7221 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.4902, allocations: 338.7 kB / 0.7224 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.4903, allocations: 36.59 kB / 0.7225 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009307/0.4913, allocations: 0.5382 MB / 0.723 GB, free: 15.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 1.733e-06/0.4913, allocations: 0 / 0.723 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003307/0.4946, allocations: 1.315 MB / 0.7243 GB, free: 13.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.4947, allocations: 196.6 kB / 0.7245 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.4954, allocations: 0.6333 MB / 0.7251 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.4955, allocations: 45.69 kB / 0.7251 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.4957, allocations: 376.5 kB / 0.7255 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4959, allocations: 268.1 kB / 0.7257 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.496, allocations: 65.62 kB / 0.7258 GB, free: 12.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4962, allocations: 398.6 kB / 0.7262 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.4968, allocations: 281.8 kB / 0.7264 GB, free: 11.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.4975, allocations: 407.3 kB / 0.7268 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4989, allocations: 0.6666 MB / 0.7275 GB, free: 10.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4989, allocations: 0 / 0.7275 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002047/0.5009, allocations: 0.8917 MB / 0.7284 GB, free: 9.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.501, allocations: 4 kB / 0.7284 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.501, allocations: 7.984 kB / 0.7284 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.5015, allocations: 80.91 kB / 0.7284 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.5022, allocations: 167.8 kB / 0.7286 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.504, allocations: 1.542 MB / 0.7301 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.5047, allocations: 114.4 kB / 0.7302 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/0.5048, allocations: 31.98 kB / 0.7302 GB, free: 7.566 MB / 0.545 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.0003294/0.5051, allocations: 259.6 kB / 0.7305 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5053, allocations: 90.89 kB / 0.7306 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.508, allocations: 1.227 MB / 0.7318 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.508, allocations: 8 kB / 0.7318 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.508, allocations: 0 / 0.7318 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.508, allocations: 3.984 kB / 0.7318 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.5089, allocations: 0.9229 MB / 0.7327 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.509, allocations: 0 / 0.7327 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.5096, allocations: 171.8 kB / 0.7329 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.5101, allocations: 80.78 kB / 0.7329 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.5102, allocations: 27.97 kB / 0.733 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.5118, allocations: 1.563 MB / 0.7345 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5118, allocations: 0 / 0.7345 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.5139, allocations: 1.021 MB / 0.7355 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.5142, allocations: 303.6 kB / 0.7358 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5143, allocations: 16 kB / 0.7358 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.515, allocations: 91.83 kB / 0.7359 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.5152, allocations: 80.83 kB / 0.736 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.5152, allocations: 39.97 kB / 0.736 GB, free: 1.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005026/0.5158, allocations: 463 kB / 0.7364 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5158, allocations: 4 kB / 0.7364 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007109/0.5165, allocations: 315.4 kB / 0.7367 GB, free: 0.6641 MB / 0.545 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.003424/0.5199, allocations: 2.09 MB / 0.7388 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.5217, allocations: 0.8899 MB / 0.7396 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5217, allocations: 0 / 0.7396 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.5227, allocations: 0.5588 MB / 0.7402 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5238, allocations: 278.8 kB / 0.7405 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.535, allocations: 7.043 MB / 0.7473 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.5355, allocations: 1.013 MB / 0.7483 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.5363, allocations: 271 kB / 0.7486 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.5369, allocations: 379.2 kB / 0.7489 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5369, allocations: 0 / 0.7489 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8991/1.436, allocations: 21.03 MB / 0.7695 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/1.436, allocations: 298.5 kB / 0.7698 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/4.528, allocations: 0 / 0.7698 GB, free: 15.11 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)