Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_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.0008553/0.0008553, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005063/0.005063, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8322/0.8322, allocations: 135.3 MB / 426.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002701, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1291, allocations: 82.3 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004199/0.1334, allocations: 3.776 MB / 0.5918 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.34/0.4734, allocations: 146.6 MB / 0.7349 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.474, allocations: 15.19 kB / 0.7349 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.4745, allocations: 139.2 kB / 0.735 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.4758, allocations: 405.8 kB / 0.7354 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4775, allocations: 0.6902 MB / 0.7361 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.4788, allocations: 1.124 MB / 0.7372 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/0.4795, allocations: 0.5304 MB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.48, allocations: 303.8 kB / 0.738 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.4804, allocations: 346 kB / 0.7383 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.4805, allocations: 27.16 kB / 0.7384 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4817, allocations: 0.7522 MB / 0.7391 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.4818, allocations: 169.5 kB / 0.7393 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.4822, allocations: 407.5 kB / 0.7396 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4835, allocations: 1.521 MB / 0.7411 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4835, allocations: 0 / 0.7411 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4835, allocations: 0 / 0.7411 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4835, allocations: 5.406 kB / 0.7411 GB, free: 11.84 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001718/0.4852, allocations: 1.171 MB / 0.7423 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4853, allocations: 8.469 kB / 0.7423 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.4854, allocations: 118.4 kB / 0.7424 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4864, allocations: 212.4 kB / 0.7426 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.4873, allocations: 0.6963 MB / 0.7433 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.4873, allocations: 54.88 kB / 0.7433 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.4874, allocations: 64.94 kB / 0.7434 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4888, allocations: 0.8432 MB / 0.7442 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4888, allocations: 3.938 kB / 0.7442 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.4889, allocations: 36.48 kB / 0.7443 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4889, allocations: 18.03 kB / 0.7443 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4907, allocations: 1.094 MB / 0.7453 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.4938, allocations: 2.394 MB / 0.7477 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.495, allocations: 0.7594 MB / 0.7484 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.4956, allocations: 309.1 kB / 0.7487 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.4957, allocations: 35.86 kB / 0.7488 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008092/0.4965, allocations: 465 kB / 0.7492 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.753e-06/0.4965, allocations: 4 kB / 0.7492 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003069/0.4996, allocations: 1.199 MB / 0.7504 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.4997, allocations: 187.3 kB / 0.7505 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.5003, allocations: 0.6005 MB / 0.7511 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.5004, allocations: 41.7 kB / 0.7512 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.5006, allocations: 356.4 kB / 0.7515 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.5008, allocations: 240.5 kB / 0.7517 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.5009, allocations: 53.69 kB / 0.7518 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.501, allocations: 386.8 kB / 0.7522 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.5016, allocations: 249.2 kB / 0.7524 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.5023, allocations: 367.6 kB / 0.7528 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5035, allocations: 0.6027 MB / 0.7533 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5035, allocations: 0 / 0.7533 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001879/0.5054, allocations: 0.8055 MB / 0.7541 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5054, allocations: 4 kB / 0.7541 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5055, allocations: 4 kB / 0.7541 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.506, allocations: 88.83 kB / 0.7542 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.5066, allocations: 151.8 kB / 0.7544 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.5084, allocations: 1.535 MB / 0.7559 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.509, allocations: 93.72 kB / 0.756 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.5091, allocations: 33.72 kB / 0.756 GB, free: 15.93 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: 6 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0003026/0.5094, allocations: 245.9 kB / 0.7562 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5095, allocations: 79.06 kB / 0.7563 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.5121, allocations: 1.12 MB / 0.7574 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5121, allocations: 8 kB / 0.7574 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5121, allocations: 0 / 0.7574 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.5121, allocations: 7.922 kB / 0.7574 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008265/0.513, allocations: 0.8546 MB / 0.7582 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.513, allocations: 0 / 0.7582 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.5136, allocations: 159.8 kB / 0.7584 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.5141, allocations: 88.7 kB / 0.7585 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.5141, allocations: 23.98 kB / 0.7585 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.5158, allocations: 1.556 MB / 0.76 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5158, allocations: 0 / 0.76 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.5176, allocations: 0.924 MB / 0.7609 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.5179, allocations: 275.7 kB / 0.7612 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.518, allocations: 16 kB / 0.7612 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.5186, allocations: 79.92 kB / 0.7613 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5188, allocations: 68.84 kB / 0.7613 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.5188, allocations: 31.98 kB / 0.7614 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000452/0.5193, allocations: 435 kB / 0.7618 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5193, allocations: 0 / 0.7618 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006436/0.5199, allocations: 287.4 kB / 0.7621 GB, free: 9.457 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: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003213/0.5232, allocations: 1.992 MB / 0.764 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.5247, allocations: 0.8094 MB / 0.7648 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5247, allocations: 4.125 kB / 0.7648 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.5257, allocations: 0.5159 MB / 0.7653 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5267, allocations: 256.6 kB / 0.7655 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5379, allocations: 6.627 MB / 0.772 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.5384, allocations: 0.9931 MB / 0.773 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007633/0.5392, allocations: 262.3 kB / 0.7732 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.5396, allocations: 355.2 kB / 0.7736 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.5396, allocations: 0 / 0.7736 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.407/4.946, allocations: 19.43 MB / 0.7926 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/4.947, allocations: 300.8 kB / 0.7928 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/7.047, allocations: 4 kB / 0.7928 GB, free: 10.23 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)