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.004596/0.004596, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001112/0.001112, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.89 kB / 0.5851 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4233, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005892/0.4293, allocations: 4.198 MB / 0.6682 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.5951, allocations: 150.5 MB / 0.8152 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.5962, allocations: 15.94 kB / 0.8152 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.5969, allocations: 170.4 kB / 0.8154 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.5992, allocations: 483.8 kB / 0.8158 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.6017, allocations: 0.7999 MB / 0.8166 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.6034, allocations: 1.222 MB / 0.8178 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.6046, allocations: 0.5651 MB / 0.8183 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/0.6054, allocations: 422.5 kB / 0.8187 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.606, allocations: 449.9 kB / 0.8192 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.6062, allocations: 96 kB / 0.8193 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.6079, allocations: 0.8505 MB / 0.8201 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.6082, allocations: 251.2 kB / 0.8203 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.6087, allocations: 485.4 kB / 0.8208 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.6111, allocations: 1.643 MB / 0.8224 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.6111, allocations: 8 kB / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6111, allocations: 0 / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.548e-05/0.6111, allocations: 0 / 0.8224 GB, free: 14.94 MB / 0.6544 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.002246/0.6134, allocations: 1.35 MB / 0.8237 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6134, allocations: 12.03 kB / 0.8237 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.6136, allocations: 114.7 kB / 0.8238 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6147, allocations: 199.6 kB / 0.824 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.6158, allocations: 0.7265 MB / 0.8247 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.6159, allocations: 54 kB / 0.8248 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.616, allocations: 64 kB / 0.8249 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6174, allocations: 0.8294 MB / 0.8257 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.6175, allocations: 3.938 kB / 0.8257 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.6176, allocations: 32 kB / 0.8257 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6176, allocations: 16 kB / 0.8257 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.6195, allocations: 1.077 MB / 0.8268 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.623, allocations: 2.336 MB / 0.8291 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6244, allocations: 0.7468 MB / 0.8298 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.625, allocations: 302.7 kB / 0.8301 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.6251, allocations: 24.69 kB / 0.8301 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.626, allocations: 463.2 kB / 0.8305 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.626, allocations: 0 / 0.8305 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003522/0.6296, allocations: 1.175 MB / 0.8317 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6297, allocations: 192.6 kB / 0.8319 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.6304, allocations: 0.5902 MB / 0.8324 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.6305, allocations: 41.7 kB / 0.8325 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.6308, allocations: 360.4 kB / 0.8328 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.6311, allocations: 240.5 kB / 0.8331 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.6313, allocations: 138.2 kB / 0.8332 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.6315, allocations: 386.7 kB / 0.8336 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.6322, allocations: 241.2 kB / 0.8338 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.6329, allocations: 359.6 kB / 0.8341 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6342, allocations: 0.5871 MB / 0.8347 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6342, allocations: 4 kB / 0.8347 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002141/0.6363, allocations: 0.786 MB / 0.8355 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6364, allocations: 4.125 kB / 0.8355 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6364, allocations: 4 kB / 0.8355 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.637, allocations: 76.78 kB / 0.8356 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.6376, allocations: 155.8 kB / 0.8357 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.6398, allocations: 1.65 MB / 0.8373 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.6405, allocations: 75.39 kB / 0.8374 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.6406, allocations: 31.97 kB / 0.8374 GB, free: 15.02 MB / 0.67 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.0003998/0.641, allocations: 245.9 kB / 0.8377 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.6412, allocations: 79.06 kB / 0.8377 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.6438, allocations: 1.107 MB / 0.8388 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6438, allocations: 12 kB / 0.8388 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6438, allocations: 0 / 0.8388 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.6438, allocations: 7.922 kB / 0.8388 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.6447, allocations: 0.8488 MB / 0.8397 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6448, allocations: 0 / 0.8397 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.6454, allocations: 163.8 kB / 0.8398 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.6458, allocations: 68.78 kB / 0.8399 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.6459, allocations: 27.98 kB / 0.8399 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.6478, allocations: 1.674 MB / 0.8415 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6478, allocations: 0 / 0.8415 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.6498, allocations: 0.9044 MB / 0.8424 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.6502, allocations: 259.8 kB / 0.8427 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.6503, allocations: 19.98 kB / 0.8427 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.6509, allocations: 66.44 kB / 0.8428 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.651, allocations: 64.91 kB / 0.8428 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.6511, allocations: 31.98 kB / 0.8428 GB, free: 9.195 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005019/0.6516, allocations: 439 kB / 0.8433 GB, free: 8.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6516, allocations: 0 / 0.8433 GB, free: 8.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007866/0.6524, allocations: 295.3 kB / 0.8435 GB, free: 8.48 MB / 0.67 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.003704/0.6561, allocations: 1.959 MB / 0.8455 GB, free: 6.664 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.6581, allocations: 0.7864 MB / 0.8462 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6581, allocations: 0 / 0.8462 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.6591, allocations: 0.5198 MB / 0.8467 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6602, allocations: 287.5 kB / 0.847 GB, free: 5.082 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.6708, allocations: 5.989 MB / 0.8529 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.6713, allocations: 0.9916 MB / 0.8538 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.6721, allocations: 266.2 kB / 0.8541 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.6726, allocations: 351.3 kB / 0.8544 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of SimCode: time 8.71e-07/0.6726, allocations: 0 / 0.8544 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3459/1.019, allocations: 21.04 MB / 0.875 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.34, allocations: 6.312 kB / 0.875 GB, free: 190.4 MB / 0.6856 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)