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.005018/0.005018, allocations: 99 kB / 15.73 MB, free: 6.008 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.001264/0.001264, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 294.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.163/1.163, allocations: 178.5 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 99.83 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.384, allocations: 89.12 MB / 0.7813 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006109/0.3901, allocations: 4.701 MB / 0.7859 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.5599, allocations: 150.6 MB / 0.933 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007655/0.5607, allocations: 11.94 kB / 0.933 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.5613, allocations: 186.2 kB / 0.9332 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.5629, allocations: 0.5241 MB / 0.9337 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.5649, allocations: 0.8373 MB / 0.9345 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.5664, allocations: 1.393 MB / 0.9358 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007973/0.5672, allocations: 0.5311 MB / 0.9364 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.5678, allocations: 474.4 kB / 0.9368 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.5684, allocations: 497.9 kB / 0.9373 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.5685, allocations: 108 kB / 0.9374 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.5699, allocations: 0.8777 MB / 0.9382 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.5702, allocations: 275.1 kB / 0.9385 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.5708, allocations: 0.5363 MB / 0.939 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.5729, allocations: 1.796 MB / 0.9408 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5729, allocations: 0 / 0.9408 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5729, allocations: 0 / 0.9408 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.5729, allocations: 0 / 0.9408 GB, free: 4.812 MB / 0.7012 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.002549/0.5755, allocations: 1.502 MB / 0.9423 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5755, allocations: 8.031 kB / 0.9423 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5757, allocations: 126.8 kB / 0.9424 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5768, allocations: 216 kB / 0.9426 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.578, allocations: 0.7823 MB / 0.9434 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.578, allocations: 54 kB / 0.9434 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5782, allocations: 72 kB / 0.9435 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5798, allocations: 0.8957 MB / 0.9444 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5798, allocations: 0 / 0.9444 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.5799, allocations: 32 kB / 0.9444 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.5799, allocations: 20 kB / 0.9444 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.582, allocations: 1.128 MB / 0.9455 GB, free: 15.84 MB / 0.7169 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.003903/0.5859, allocations: 2.597 MB / 0.948 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.5877, allocations: 0.8365 MB / 0.9489 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.5884, allocations: 334.7 kB / 0.9492 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.5885, allocations: 32.56 kB / 0.9492 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.5896, allocations: 0.5303 MB / 0.9497 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 1.974e-06/0.5896, allocations: 0 / 0.9497 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.003678/0.5933, allocations: 1.288 MB / 0.951 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5934, allocations: 188.6 kB / 0.9512 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.5942, allocations: 0.645 MB / 0.9518 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.5943, allocations: 41.7 kB / 0.9518 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.5947, allocations: 381.1 kB / 0.9522 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.5949, allocations: 281.6 kB / 0.9525 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.5952, allocations: 158.6 kB / 0.9526 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.5954, allocations: 386.7 kB / 0.953 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.5961, allocations: 285.8 kB / 0.9533 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.5969, allocations: 391.4 kB / 0.9536 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.5984, allocations: 0.6432 MB / 0.9543 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5984, allocations: 0 / 0.9543 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002284/0.6007, allocations: 0.8803 MB / 0.9551 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6007, allocations: 6.969 kB / 0.9551 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6007, allocations: 4 kB / 0.9551 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.6013, allocations: 84.89 kB / 0.9552 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.602, allocations: 167.8 kB / 0.9554 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.6043, allocations: 1.653 MB / 0.957 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.6051, allocations: 99.56 kB / 0.9571 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.6051, allocations: 35.91 kB / 0.9571 GB, free: 3.516 MB / 0.7169 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.0004068/0.6056, allocations: 267.4 kB / 0.9574 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6057, allocations: 87.44 kB / 0.9574 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.6086, allocations: 1.206 MB / 0.9586 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6087, allocations: 8 kB / 0.9586 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6087, allocations: 4 kB / 0.9586 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6087, allocations: 7.922 kB / 0.9586 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.6098, allocations: 0.9192 MB / 0.9595 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6098, allocations: 0 / 0.9595 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.6105, allocations: 163.8 kB / 0.9597 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.611, allocations: 76.72 kB / 0.9598 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.6111, allocations: 31.97 kB / 0.9598 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.6131, allocations: 1.67 MB / 0.9614 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6131, allocations: 4.031 kB / 0.9614 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.6154, allocations: 1.002 MB / 0.9624 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.6158, allocations: 288.2 kB / 0.9627 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.616, allocations: 24 kB / 0.9627 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.6166, allocations: 72 kB / 0.9628 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.6168, allocations: 76.88 kB / 0.9629 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.6169, allocations: 35.97 kB / 0.9629 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000594/0.6175, allocations: 479 kB / 0.9633 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6175, allocations: 0 / 0.9633 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008341/0.6183, allocations: 327.1 kB / 0.9637 GB, free: 12.55 MB / 0.7325 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.004405/0.6228, allocations: 2.068 MB / 0.9657 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.6248, allocations: 0.8704 MB / 0.9665 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6248, allocations: 4 kB / 0.9665 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.626, allocations: 0.5626 MB / 0.9671 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6273, allocations: 297.3 kB / 0.9674 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.6388, allocations: 6.393 MB / 0.9736 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.6395, allocations: 1.028 MB / 0.9746 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008996/0.6404, allocations: 278.9 kB / 0.9749 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.641, allocations: 379.3 kB / 0.9752 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.641, allocations: 4 kB / 0.9752 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3508/0.9918, allocations: 22.44 MB / 0.9972 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.16, allocations: 7.156 kB / 0.9972 GB, free: 200.7 MB / 0.7481 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)