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.001159/0.001159, 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.001158/0.001158, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7767/0.7767, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.09 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004824/0.1294, allocations: 4.189 MB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3216/0.451, allocations: 148.2 MB / 0.7326 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.4516, allocations: 15.78 kB / 0.7326 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.452, allocations: 138.5 kB / 0.7327 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4531, allocations: 402.4 kB / 0.7331 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.4545, allocations: 0.6897 MB / 0.7338 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.4554, allocations: 1.135 MB / 0.7349 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.4561, allocations: 0.5318 MB / 0.7354 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.4565, allocations: 369.5 kB / 0.7358 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.4568, allocations: 411.3 kB / 0.7362 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.457, allocations: 44.16 kB / 0.7362 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/0.4579, allocations: 0.7752 MB / 0.737 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4581, allocations: 206.2 kB / 0.7372 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.4584, allocations: 434.1 kB / 0.7376 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4597, allocations: 1.557 MB / 0.7391 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4597, allocations: 0 / 0.7391 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4597, allocations: 0 / 0.7391 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4597, allocations: 0 / 0.7391 GB, free: 10.78 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.001962/0.4617, allocations: 1.358 MB / 0.7404 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.4617, allocations: 8.812 kB / 0.7404 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.4619, allocations: 119.9 kB / 0.7405 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.4629, allocations: 201.6 kB / 0.7407 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.4638, allocations: 0.7043 MB / 0.7414 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.4638, allocations: 50.88 kB / 0.7415 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.4639, allocations: 68 kB / 0.7415 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.4653, allocations: 0.8291 MB / 0.7423 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4653, allocations: 3.938 kB / 0.7424 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.4654, allocations: 32.56 kB / 0.7424 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.4654, allocations: 21.5 kB / 0.7424 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.4671, allocations: 1.077 MB / 0.7435 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.4702, allocations: 2.353 MB / 0.7458 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.4714, allocations: 0.7424 MB / 0.7465 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.472, allocations: 305.8 kB / 0.7468 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.4721, allocations: 34.98 kB / 0.7468 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008486/0.4729, allocations: 460.9 kB / 0.7472 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.4729, allocations: 3.75 kB / 0.7472 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003131/0.4761, allocations: 1.168 MB / 0.7484 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.4762, allocations: 188.6 kB / 0.7486 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.4768, allocations: 0.6057 MB / 0.7492 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.4768, allocations: 37.7 kB / 0.7492 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.4771, allocations: 360.5 kB / 0.7495 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.4773, allocations: 240.5 kB / 0.7498 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.4775, allocations: 138.3 kB / 0.7499 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4776, allocations: 382.8 kB / 0.7503 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.4782, allocations: 242 kB / 0.7505 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.4788, allocations: 359.5 kB / 0.7508 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.48, allocations: 0.5793 MB / 0.7514 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.48, allocations: 0 / 0.7514 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001882/0.4819, allocations: 0.7937 MB / 0.7522 GB, free: 236 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4819, allocations: 4 kB / 0.7522 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4819, allocations: 7.938 kB / 0.7522 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.4825, allocations: 84.89 kB / 0.7523 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.4831, allocations: 150.2 kB / 0.7524 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.485, allocations: 1.533 MB / 0.7539 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.4855, allocations: 83.33 kB / 0.754 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.4856, allocations: 27.98 kB / 0.754 GB, free: 14.21 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.000303/0.4859, allocations: 253.7 kB / 0.7543 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4861, allocations: 75.06 kB / 0.7543 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.4886, allocations: 1.104 MB / 0.7554 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4887, allocations: 8 kB / 0.7554 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4887, allocations: 0 / 0.7554 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4887, allocations: 3.984 kB / 0.7554 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.4895, allocations: 0.8372 MB / 0.7562 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4895, allocations: 8 kB / 0.7562 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.4902, allocations: 159.7 kB / 0.7564 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.4906, allocations: 92.69 kB / 0.7565 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.4907, allocations: 23.98 kB / 0.7565 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.4924, allocations: 1.561 MB / 0.758 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4924, allocations: 0 / 0.758 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4942, allocations: 0.9083 MB / 0.7589 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.4945, allocations: 259.8 kB / 0.7592 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4946, allocations: 19.91 kB / 0.7592 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.4952, allocations: 66.75 kB / 0.7592 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.4953, allocations: 64.84 kB / 0.7593 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.4954, allocations: 39.97 kB / 0.7593 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000449/0.4959, allocations: 431 kB / 0.7598 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4959, allocations: 4 kB / 0.7598 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006357/0.4965, allocations: 295.4 kB / 0.76 GB, free: 7.777 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.003201/0.4997, allocations: 1.949 MB / 0.7619 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.5013, allocations: 0.7862 MB / 0.7627 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5013, allocations: 0 / 0.7627 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.5022, allocations: 0.5197 MB / 0.7632 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.5031, allocations: 260.9 kB / 0.7635 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5141, allocations: 6.538 MB / 0.7699 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.5146, allocations: 0.9931 MB / 0.7708 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007872/0.5154, allocations: 267 kB / 0.7711 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/0.5159, allocations: 347.3 kB / 0.7714 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5159, allocations: 0 / 0.7714 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.536/3.052, allocations: 19.71 MB / 0.7907 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/3.053, allocations: 309.5 kB / 0.791 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/5.327, allocations: 4 kB / 0.791 GB, free: 8.418 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)